mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05: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):
|
def _retrieveURL(self, url):
|
||||||
# is it media?
|
# is it media?
|
||||||
ext = name.split(".")[-1].lower()
|
ext = url.split(".")[-1].lower()
|
||||||
if ext not in pics and ext not in audio:
|
if ext not in pics and ext not in audio:
|
||||||
return
|
return
|
||||||
# fetch it into a temporary folder
|
# fetch it into a temporary folder
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue