summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RPNetBiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/RPNetBiz.py')
-rw-r--r--module/plugins/hoster/RPNetBiz.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/module/plugins/hoster/RPNetBiz.py b/module/plugins/hoster/RPNetBiz.py
index b6e54a560..352d3147a 100644
--- a/module/plugins/hoster/RPNetBiz.py
+++ b/module/plugins/hoster/RPNetBiz.py
@@ -29,10 +29,10 @@ class RPNetBiz(MultiHoster):
#: Get the download link
res = self.load("https://premium.rpnet.biz/client_api.php",
- get={"username": user,
- "password": data['password'],
- "action" : "generate",
- "links" : pyfile.url})
+ get={'username': user,
+ 'password': data['password'],
+ 'action' : "generate",
+ '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
@@ -48,10 +48,10 @@ class RPNetBiz(MultiHoster):
while (my_try <= max_tries):
self.log_debug("Try: %d ; Max Tries: %d" % (my_try, max_tries))
res = self.load("https://premium.rpnet.biz/client_api.php",
- get={"username": user,
- "password": data['password'],
- "action": "downloadInformation",
- "id": link_status['id']})
+ get={'username': user,
+ 'password': data['password'],
+ 'action' : "downloadInformation",
+ 'id' : link_status['id']})
self.log_debug("JSON data hdd query: %s" % res)
download_status = json_loads(res)['download']