fix audio download
This commit is contained in:
parent
f1a27b47cd
commit
7d39517280
@ -648,7 +648,7 @@ class AnkiConnect:
|
|||||||
audio = note.get('audio')
|
audio = note.get('audio')
|
||||||
if audio is not None and len(audio['fields']) > 0:
|
if audio is not None and len(audio['fields']) > 0:
|
||||||
try:
|
try:
|
||||||
data = download(audio['url'])
|
data = self.download(audio['url'])
|
||||||
if audio['skipHash'] is None:
|
if audio['skipHash'] is None:
|
||||||
skip = False
|
skip = False
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user