summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/UptoboxCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 18:52:10 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 18:52:10 +0200
commit21a0b9663af74c06b2a41a27b06c6fa3881f8a9b (patch)
treefd18af7948c3d8b83b5b1069f60fed8c7386cd58 /module/plugins/accounts/UptoboxCom.py
parent[Extractor] Code cleanup (diff)
downloadpyload-21a0b9663af74c06b2a41a27b06c6fa3881f8a9b.tar.xz
Update accounts
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()