diff options
author | Gonzalo SR <gonzalo@gonzalosr.com> | 2013-04-11 18:07:46 +0200 |
---|---|---|
committer | Gonzalo SR <gonzalo@gonzalosr.com> | 2013-04-11 18:07:46 +0200 |
commit | 2f9dc56db6fc84e9915b7b8bc7892b880fe03059 (patch) | |
tree | 8f9b20d0d7bc39fbd11f3028cfcc34be279df2ef /module/plugins/hoster | |
parent | Fixed incorrect use of rstrip() (diff) | |
download | pyload-2f9dc56db6fc84e9915b7b8bc7892b880fe03059.tar.xz |
revert correct rsrtrip()
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/MegaNz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/MegaNz.py b/module/plugins/hoster/MegaNz.py index 3b64c3ef5..e5be4eeb7 100644 --- a/module/plugins/hoster/MegaNz.py +++ b/module/plugins/hoster/MegaNz.py @@ -55,7 +55,7 @@ class MegaNz(Hoster): self.fail(_("Decryption failed")) # Data is padded, 0-bytes must be stripped - return json.loads(attr.replace("MEGA", "").rsplit("\0")[0].strip()) + return json.loads(attr.replace("MEGA", "").rstrip("\0").strip()) def decryptFile(self, key): """ Decrypts the file at lastDownload` """ |