This commit is contained in:
Alex Yatskov 2016-07-17 09:40:28 -07:00
parent 82fd651374
commit c403c32766

View File

@ -242,7 +242,7 @@ class AnkiBridge:
if note is None:
return
if audio is not None:
if audio is not None and len(audio['fields']) > 0:
data = audioDownload(**audio)
if data is not None and not audioIsPlaceholder(data):
audioInject(note, **audio)