mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix _retrieveURL()
This commit is contained in:
parent
68817218a4
commit
3bfb60c757
1 changed files with 1 additions and 1 deletions
|
@ -919,7 +919,7 @@ class EditorWebView(AnkiWebView):
|
|||
|
||||
def _retrieveURL(self, url):
|
||||
# is it media?
|
||||
ext = name.split(".")[-1].lower()
|
||||
ext = url.split(".")[-1].lower()
|
||||
if ext not in pics and ext not in audio:
|
||||
return
|
||||
# fetch it into a temporary folder
|
||||
|
|
Loading…
Reference in a new issue