summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidgatorNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-20 18:43:15 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-27 22:46:01 +0100
commit5deded62d94c04be64d34f6b67d07803eea9b6bf (patch)
treea33f82a6208b3a922bf5e1883f134a1fb86a9217 /module/plugins/hoster/RapidgatorNet.py
parentUpdate addons (diff)
downloadpyload-5deded62d94c04be64d34f6b67d07803eea9b6bf.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/RapidgatorNet.py')
-rw-r--r--module/plugins/hoster/RapidgatorNet.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py
index a4f6f4190..27fb4fda0 100644
--- a/module/plugins/hoster/RapidgatorNet.py
+++ b/module/plugins/hoster/RapidgatorNet.py
@@ -73,9 +73,9 @@ class RapidgatorNet(SimpleHoster):
get={'sid': self.sid,
'url': self.pyfile.url})
self.log_debug("API:%s" % cmd, html, "SID: %s" % self.sid)
- jso = json.loads(html)
- status = jso['response_status']
- msg = jso['response_details']
+ json_data = json.loads(html)
+ status = json_data['response_status']
+ msg = json_data['response_details']
except BadHeader, e:
self.log_error("API: %s" % cmd, e, "SID: %s" % self.sid)
@@ -83,7 +83,7 @@ class RapidgatorNet(SimpleHoster):
msg = e
if status is 200:
- return jso['response']
+ return json_data['response']
elif status is 423:
self.account.empty()