diff options
| author | 2015-09-21 14:36:22 +0200 | |
|---|---|---|
| committer | 2015-09-21 14:36:22 +0200 | |
| commit | f9fc367427e30b7a3ca2ccad6144cb76b21f0257 (patch) | |
| tree | d35656dd6253edcfdd4d19efe1756c0fddacaf27 /module/plugins/hoster/CzshareCom.py | |
| parent | Fix pyfile.name processing (diff) | |
| download | pyload-f9fc367427e30b7a3ca2ccad6144cb76b21f0257.tar.xz | |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/CzshareCom.py')
| -rw-r--r-- | module/plugins/hoster/CzshareCom.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/hoster/CzshareCom.py b/module/plugins/hoster/CzshareCom.py index 3d2de5f7f..6afd9fa2d 100644 --- a/module/plugins/hoster/CzshareCom.py +++ b/module/plugins/hoster/CzshareCom.py @@ -58,6 +58,7 @@ class CzshareCom(SimpleHoster): if credit < self.pyfile.size: self.log_info(_("Not enough credit to download file: %s") % self.pyfile.name) return False + except Exception, e: #: let's continue and see what happens... self.log_error(e) @@ -70,6 +71,7 @@ class CzshareCom(SimpleHoster): try: form = re.search(self.PREMIUM_FORM_PATTERN, self.html, re.S).group(1) inputs = dict(re.findall(self.FORM_INPUT_PATTERN, form)) + except Exception, e: self.log_error(e) self.restart(nopremium=True) |
