diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2016-01-16 16:35:00 +0100 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2016-01-16 16:35:00 +0100 |
commit | d8a17355861d35baa4cf742f9324fb2c93ca4b88 (patch) | |
tree | d31fcf713eabf7233cb8e37ef446945eaa540bbf /module/plugins/hoster/MegaCoNz.py | |
parent | Merge pull request #2295 from alesnav/patch-1 (diff) | |
download | pyload-d8a17355861d35baa4cf742f9324fb2c93ca4b88.tar.xz |
[MegaCoNz] Update
Diffstat (limited to 'module/plugins/hoster/MegaCoNz.py')
-rw-r--r-- | module/plugins/hoster/MegaCoNz.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/MegaCoNz.py b/module/plugins/hoster/MegaCoNz.py index 11bbf05fb..b2615f1da 100644 --- a/module/plugins/hoster/MegaCoNz.py +++ b/module/plugins/hoster/MegaCoNz.py @@ -12,7 +12,7 @@ import Crypto.Util from module.plugins.internal.Hoster import Hoster from module.plugins.internal.misc import decode, encode, json -from base64 import standard_b64decode + ############################ General errors ################################### # EINTERNAL (-1): An internal error has occurred. Please submit a bug report, detailing the exact circumstances in which this error occurred @@ -46,7 +46,7 @@ from base64 import standard_b64decode class MegaCoNz(Hoster): __name__ = "MegaCoNz" __type__ = "hoster" - __version__ = "0.35" + __version__ = "0.36" __status__ = "testing" __pattern__ = r'(https?://(?:www\.)?mega(\.co)?\.nz/|mega:|chrome:.+?)#(?P<TYPE>N|)!(?P<ID>[\w^_]+)!(?P<KEY>[\w\-,]+)' @@ -64,7 +64,7 @@ class MegaCoNz(Hoster): def b64_decode(self, data): data = data.replace("-", "+").replace("_", "/") - return standard_b64decode(data + '=' * (-len(data) % 4)) + return base64.standard_b64decode(data + '=' * (-len(data) % 4)) def get_cipher_key(self, key): |