diff options
Diffstat (limited to 'module/plugins/accounts/FileserveCom.py')
-rw-r--r-- | module/plugins/accounts/FileserveCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/FileserveCom.py b/module/plugins/accounts/FileserveCom.py index bc56d4b96..0ba5ca699 100644 --- a/module/plugins/accounts/FileserveCom.py +++ b/module/plugins/accounts/FileserveCom.py @@ -3,7 +3,7 @@ import time from module.plugins.internal.Account import Account -from module.common.json_layer import json_loads +from module.plugins.internal.utils import json class FileserveCom(Account): @@ -22,7 +22,7 @@ class FileserveCom(Account): post={'username': user, 'password': password, 'submit': "Submit+Query"}) - res = json_loads(html) + res = json.loads(html) if res['type'] == "premium": validuntil = time.mktime(time.strptime(res['expireTime'], "%Y-%m-%d %H:%M:%S")) @@ -36,7 +36,7 @@ class FileserveCom(Account): post={'username': user, 'password': password, 'submit' : "Submit+Query"}) - res = json_loads(html) + res = json.loads(html) if not res['type']: self.fail_login() |