diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-13 23:14:50 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-13 23:14:50 +0100 |
commit | e1baccf1ec914563d3b2b845906cce024e7cd3b1 (patch) | |
tree | 7113e8923ea58112787ce93d5ab9d98e277926c9 /module/plugins/crypter/RelinkUs.py | |
parent | [SimpleCrypter] Better account retrieving (diff) | |
download | pyload-e1baccf1ec914563d3b2b845906cce024e7cd3b1.tar.xz |
Replace 'except' with 'except Exception'
Diffstat (limited to 'module/plugins/crypter/RelinkUs.py')
-rw-r--r-- | module/plugins/crypter/RelinkUs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/RelinkUs.py b/module/plugins/crypter/RelinkUs.py index c5a3f1011..0fd80d593 100644 --- a/module/plugins/crypter/RelinkUs.py +++ b/module/plugins/crypter/RelinkUs.py @@ -204,7 +204,7 @@ class RelinkUs(Crypter): (vcrypted, vjk) = self._getCipherParams(cnl2_form) for (crypted, jk) in zip(vcrypted, vjk): package_links.extend(self._getLinks(crypted, jk)) - except: + except Exception: self.logDebug("Unable to decrypt CNL2 links") return package_links @@ -223,7 +223,7 @@ class RelinkUs(Crypter): with open(dlc_filepath, "wb") as f: f.write(dlc) package_links.append(dlc_filepath) - except: + except Exception: self.fail("Unable to download DLC container") return package_links |