summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-11 21:25:47 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-11 21:25:47 +0100
commit1873b51db68b2c936d7b67f23dea4a5e49186568 (patch)
treee6c6585e160421686c36265d6d98eac946e92bb9 /pyload/plugins/internal/SimpleHoster.py
parentRename attr NAME to __name (diff)
downloadpyload-1873b51db68b2c936d7b67f23dea4a5e49186568.tar.xz
Spare code fixes
Diffstat (limited to 'pyload/plugins/internal/SimpleHoster.py')
-rw-r--r--pyload/plugins/internal/SimpleHoster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/internal/SimpleHoster.py b/pyload/plugins/internal/SimpleHoster.py
index d04044830..031271ad7 100644
--- a/pyload/plugins/internal/SimpleHoster.py
+++ b/pyload/plugins/internal/SimpleHoster.py
@@ -219,7 +219,7 @@ class SimpleHoster(Hoster):
if e.code is 503:
info['status'] = 6
raise
- except:
+ except Exception:
return info
online = False