From 544df23655c02934d33571f6a924a322f75c2277 Mon Sep 17 00:00:00 2001 From: Arno-Nymous Date: Tue, 22 Dec 2015 03:33:08 +0100 Subject: [ShareonlineBiz] Probable solution for the 'No info available' message --- module/plugins/accounts/ShareonlineBiz.py | 6 ++++-- 1 file 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 -- cgit v1.2.3