diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-09 03:12:41 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-09 03:12:41 +0100 |
commit | 59f72bfc5ed721c80c821bd0ca1bc8daf0d49880 (patch) | |
tree | 05d0159405f2059bc89b3a55eab8ee4a94871aac /module/plugins/hoster/MegacrypterCom.py | |
parent | [PluginManager] Fix parse method (diff) | |
download | pyload-59f72bfc5ed721c80c821bd0ca1bc8daf0d49880.tar.xz |
Code cosmetics
Diffstat (limited to 'module/plugins/hoster/MegacrypterCom.py')
-rw-r--r-- | module/plugins/hoster/MegacrypterCom.py | 6 |
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): |