diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-21 14:36:22 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-21 14:36:22 +0200 |
commit | f9fc367427e30b7a3ca2ccad6144cb76b21f0257 (patch) | |
tree | d35656dd6253edcfdd4d19efe1756c0fddacaf27 /module/plugins/accounts/NoPremiumPl.py | |
parent | Fix pyfile.name processing (diff) | |
download | pyload-f9fc367427e30b7a3ca2ccad6144cb76b21f0257.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/accounts/NoPremiumPl.py')
-rw-r--r-- | module/plugins/accounts/NoPremiumPl.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/accounts/NoPremiumPl.py b/module/plugins/accounts/NoPremiumPl.py index 79369e105..3d6d6496b 100644 --- a/module/plugins/accounts/NoPremiumPl.py +++ b/module/plugins/accounts/NoPremiumPl.py @@ -36,6 +36,7 @@ class NoPremiumPl(Account): self._req = req try: result = json_loads(self.run_auth_query()) + except Exception: #@TODO: return or let it be thrown? return @@ -61,6 +62,7 @@ class NoPremiumPl(Account): try: response = json_loads(self.run_auth_query()) + except Exception: self.fail_login() |