diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 19:14:29 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 19:14:29 +0200 |
commit | 9d9618ab35071f36840fe51e63fe2f887131dc5a (patch) | |
tree | 47028e89e5a7a2ede5e1d0eddfa7930ba367baf6 /module/plugins/hoster/RPNetBiz.py | |
parent | [SimpleCrypter] Don't use self.link(s) (diff) | |
download | pyload-9d9618ab35071f36840fe51e63fe2f887131dc5a.tar.xz |
Update hosters
Diffstat (limited to 'module/plugins/hoster/RPNetBiz.py')
-rw-r--r-- | module/plugins/hoster/RPNetBiz.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/RPNetBiz.py b/module/plugins/hoster/RPNetBiz.py index af3d41946..e61cfaf86 100644 --- a/module/plugins/hoster/RPNetBiz.py +++ b/module/plugins/hoster/RPNetBiz.py @@ -3,7 +3,7 @@ import re from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo -from module.common.json_layer import json_loads +from module.plugins.internal.utils import json class RPNetBiz(MultiHoster): @@ -36,7 +36,7 @@ class RPNetBiz(MultiHoster): 'links' : pyfile.url}) self.log_debug("JSON data: %s" % res) - link_status = json_loads(res)['links'][0] #: Get the first link... since we only queried one + link_status = json.loads(res)['links'][0] #: Get the first link... since we only queried one #: Check if we only have an id as a HDD link if 'id' in link_status: @@ -54,7 +54,7 @@ class RPNetBiz(MultiHoster): 'action' : "downloadInformation", 'id' : link_status['id']}) self.log_debug("JSON data hdd query: %s" % res) - download_status = json_loads(res)['download'] + download_status = json.loads(res)['download'] if download_status['status'] == "100": link_status['generated'] = download_status['rpnet_link'] |