summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/UptoboxCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/UptoboxCom.py')
-rw-r--r--module/plugins/accounts/UptoboxCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/UptoboxCom.py b/module/plugins/accounts/UptoboxCom.py
index bdd037af8..6eb2314b1 100644
--- a/module/plugins/accounts/UptoboxCom.py
+++ b/module/plugins/accounts/UptoboxCom.py
@@ -3,7 +3,7 @@
import re
import urlparse
-from module.common.json_layer import json_loads
+from module.plugins.internal.utils import json
from module.plugins.internal.XFSAccount import XFSAccount
@@ -39,5 +39,5 @@ class UptoboxCom(XFSAccount):
'password': password},
cookies=self.COOKIES)
- if json_loads(html).get('error'):
+ if json.loads(html).get('error'):
self.fail_login()