diff options
Diffstat (limited to 'module/plugins/crypter/ShareLinksBiz.py')
-rw-r--r-- | module/plugins/crypter/ShareLinksBiz.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/ShareLinksBiz.py b/module/plugins/crypter/ShareLinksBiz.py index 80aeb430a..01f1a5167 100644 --- a/module/plugins/crypter/ShareLinksBiz.py +++ b/module/plugins/crypter/ShareLinksBiz.py @@ -3,7 +3,7 @@ import binascii import re -from Crypto.Cipher import AES +import Crypto.Cipher from module.plugins.internal.Crypter import Crypter, create_getInfo @@ -72,7 +72,7 @@ class ShareLinksBiz(Crypter): if 's2l.biz' in url: header = self.load(url, just_header=True) - + if not 'location' in header: self.fail(_("Unable to initialize download")) else: @@ -291,7 +291,7 @@ class ShareLinksBiz(Crypter): #: Decrypt Key = key IV = key - obj = AES.new(Key, AES.MODE_CBC, IV) + obj = Crypto.Cipher.AES.new(Key, Crypto.Cipher.AES.MODE_CBC, IV) text = obj.decrypt(crypted.decode('base64')) #: Extract links |