mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix paste of quoted url (#351)
This commit is contained in:
parent
e2c4fd5945
commit
ebda335273
1 changed files with 1 additions and 1 deletions
|
@ -1087,7 +1087,7 @@ class EditorWebView(AnkiWebView):
|
|||
except urllib2.URLError, e:
|
||||
showWarning(self.errtxt % e)
|
||||
return
|
||||
path = namedtmp(os.path.basename(url))
|
||||
path = namedtmp(os.path.basename(urllib2.unquote(url)))
|
||||
file = open(path, "wb")
|
||||
file.write(filecontents)
|
||||
file.close()
|
||||
|
|
Loading…
Reference in a new issue