summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegacrypterCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-09 03:12:41 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-09 03:12:41 +0100
commit59f72bfc5ed721c80c821bd0ca1bc8daf0d49880 (patch)
tree05d0159405f2059bc89b3a55eab8ee4a94871aac /module/plugins/hoster/MegacrypterCom.py
parent[PluginManager] Fix parse method (diff)
downloadpyload-59f72bfc5ed721c80c821bd0ca1bc8daf0d49880.tar.xz
Code cosmetics
Diffstat (limited to 'module/plugins/hoster/MegacrypterCom.py')
-rw-r--r--module/plugins/hoster/MegacrypterCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/MegacrypterCom.py b/module/plugins/hoster/MegacrypterCom.py
index a097ca506..4034f7d32 100644
--- a/module/plugins/hoster/MegacrypterCom.py
+++ b/module/plugins/hoster/MegacrypterCom.py
@@ -26,9 +26,9 @@ class MegacrypterCom(MegaCoNz):
def callApi(self, **kwargs):
""" Dispatch a call to the api, see megacrypter.com/api_doc """
self.logDebug("JSON request: " + json_dumps(kwargs))
- resp = self.load(self.API_URL, post=json_dumps(kwargs))
- self.logDebug("API Response: " + resp)
- return json_loads(resp)
+ res = self.load(self.API_URL, post=json_dumps(kwargs))
+ self.logDebug("API Response: " + res)
+ return json_loads(res)
def process(self, pyfile):