summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/Ftp.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/Ftp.py')
-rw-r--r--pyload/plugins/hoster/Ftp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/Ftp.py b/pyload/plugins/hoster/Ftp.py
index 2baec064b..c130cc395 100644
--- a/pyload/plugins/hoster/Ftp.py
+++ b/pyload/plugins/hoster/Ftp.py
@@ -35,7 +35,7 @@ class Ftp(Hoster):
pyfile.name = parsed_url.path.rpartition('/')[2]
try:
pyfile.name = unquote(str(pyfile.name)).decode('utf8')
- except:
+ except Exception:
pass
if not "@" in netloc: