diff options
author | 2015-10-18 18:52:10 +0200 | |
---|---|---|
committer | 2015-10-18 18:52:10 +0200 | |
commit | 21a0b9663af74c06b2a41a27b06c6fa3881f8a9b (patch) | |
tree | fd18af7948c3d8b83b5b1069f60fed8c7386cd58 /module/plugins/accounts/FileserveCom.py | |
parent | [Extractor] Code cleanup (diff) | |
download | pyload-21a0b9663af74c06b2a41a27b06c6fa3881f8a9b.tar.xz |
Update accounts
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() |