summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegacrypterCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
commitb1759bc440cd6013837697eb8de540914f693ffd (patch)
treed170caf63d7f65e44d23ea2d91a65759a1665928 /module/plugins/hoster/MegacrypterCom.py
parent[Plugin] Fix decoding in load method (diff)
downloadpyload-b1759bc440cd6013837697eb8de540914f693ffd.tar.xz
No camelCase style anymore
Diffstat (limited to 'module/plugins/hoster/MegacrypterCom.py')
-rw-r--r--module/plugins/hoster/MegacrypterCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/MegacrypterCom.py b/module/plugins/hoster/MegacrypterCom.py
index 27c3c7253..7152a1cbc 100644
--- a/module/plugins/hoster/MegacrypterCom.py
+++ b/module/plugins/hoster/MegacrypterCom.py
@@ -10,7 +10,7 @@ from module.plugins.hoster.MegaCoNz import MegaCoNz
class MegacrypterCom(MegaCoNz):
__name__ = "MegacrypterCom"
__type__ = "hoster"
- __version__ = "0.22"
+ __version__ = "0.23"
__pattern__ = r'https?://\w{0,10}\.?megacrypter\.com/[\w!-]+'
@@ -27,9 +27,9 @@ class MegacrypterCom(MegaCoNz):
"""
Dispatch a call to the api, see megacrypter.com/api_doc
"""
- self.logDebug("JSON request: " + json_dumps(kwargs))
+ self.log_debug("JSON request: " + json_dumps(kwargs))
res = self.load(self.API_URL, post=json_dumps(kwargs))
- self.logDebug("API Response: " + res)
+ self.log_debug("API Response: " + res)
return json_loads(res)
@@ -53,7 +53,7 @@ class MegacrypterCom(MegaCoNz):
self.download(dl['url'])
- self.decryptFile(key)
+ self.decrypt_file(key)
#: Everything is finished and final name can be set
pyfile.name = info['name']