diff options
| -rw-r--r-- | module/plugins/hoster/MegaNz.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/module/plugins/hoster/MegaNz.py b/module/plugins/hoster/MegaNz.py index 1c48906ca..6644d372c 100644 --- a/module/plugins/hoster/MegaNz.py +++ b/module/plugins/hoster/MegaNz.py @@ -28,7 +28,8 @@ class MegaNz(Hoster):      FILE_SUFFIX = ".crypted"      def b64_decode(self, data): -        return standard_b64decode(data.replace("-", "+").replace("_", "/")+ "=") +        data = data.replace("-", "+").replace("_", "/") +        return standard_b64decode(data + '=' * (-len(data) % 4))      def getCipherKey(self, key):          """ Construct the cipher key from the given data """ | 
