diff options
author | Arno-Nymous <Arno-Nymous@users.noreply.github.com> | 2015-12-22 03:33:08 +0100 |
---|---|---|
committer | Arno-Nymous <Arno-Nymous@users.noreply.github.com> | 2015-12-22 03:33:08 +0100 |
commit | 544df23655c02934d33571f6a924a322f75c2277 (patch) | |
tree | 8a784fdf3e5971f957023d96acb268809cb90bbe | |
parent | Fix for #2207 (diff) | |
download | pyload-544df23655c02934d33571f6a924a322f75c2277.tar.xz |
[ShareonlineBiz] Probable solution for the 'No info available' message
-rw-r--r-- | module/plugins/accounts/ShareonlineBiz.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py index 24b7e98ca..400552d5c 100644 --- a/module/plugins/accounts/ShareonlineBiz.py +++ b/module/plugins/accounts/ShareonlineBiz.py @@ -32,8 +32,10 @@ class ShareonlineBiz(Account): if not 'a' in api: self.fail_login(res.strip('*')) - if api['a'].lower() == "not_available": - self.fail_login(_("No info available")) +# Since api['a'] always returns 'not_available' for Shareonline, uncommented this for the time being. +# Resolves the problem that the log always says 'Could not login user | No info available'. +# if api['a'].lower() == "not_available": +# self.fail_login(_("No info available")) return api |