Commit a2b5790b authored by Cédric Bellegarde's avatar Cédric Bellegarde

Fix #90

parent 632a5292
......@@ -10,6 +10,7 @@
/python-webextension/libpythonloader_la-libpythonloader.lo
/eolie-cli
/po
/build
/help
/*.bak
/*.lo
......
......@@ -98,9 +98,7 @@ class DownloadManager(GObject.GObject):
@param filename as str
@param wanted_filename as str
"""
# WebKit fails do download uri
# with suggested filename too if contains %
filename = filename.replace("%", "")
filename = filename.replace("/", "_")
extension = filename.split(".")[-1]
if wanted_filename:
# FIXME We should find a way to pass good extension,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment