summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/ShareonlineBiz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-01 23:53:07 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-01 23:53:07 +0100
commit004a80bfaad38f9400e8aebcb8f980353a232295 (patch)
tree1e786d2d14a3040767aac237982544b74a9567cb /pyload/plugins/hoster/ShareonlineBiz.py
parentFix previous merge (diff)
downloadpyload-004a80bfaad38f9400e8aebcb8f980353a232295.tar.xz
PEP-8, Python Zen, refactor and reduce code (thx FedeG)
Diffstat (limited to 'pyload/plugins/hoster/ShareonlineBiz.py')
-rw-r--r--pyload/plugins/hoster/ShareonlineBiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/ShareonlineBiz.py b/pyload/plugins/hoster/ShareonlineBiz.py
index 0769cfe17..59204eb2e 100644
--- a/pyload/plugins/hoster/ShareonlineBiz.py
+++ b/pyload/plugins/hoster/ShareonlineBiz.py
@@ -177,7 +177,7 @@ class ShareonlineBiz(Hoster):
err = m.group(1)
try:
self.logError(err, re.search(self.ERROR_INFO_PATTERN, self.html).group(1))
- except:
+ except Exception:
self.logError(err, "Unknown error occurred")
if err == "invalid":