diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-12 14:03:56 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-12 14:03:56 +0200 |
commit | 304a42b914cde43a31a935181b0f952c726eee54 (patch) | |
tree | 104a496ed690c187a479cde5b829f4e76b21c1cd /pyload/plugin/crypter/ShareLinksBiz.py | |
parent | Other import fixes (diff) | |
download | pyload-304a42b914cde43a31a935181b0f952c726eee54.tar.xz |
Other import fixes (2)
Diffstat (limited to 'pyload/plugin/crypter/ShareLinksBiz.py')
-rw-r--r-- | pyload/plugin/crypter/ShareLinksBiz.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pyload/plugin/crypter/ShareLinksBiz.py b/pyload/plugin/crypter/ShareLinksBiz.py index 8add5214d..25e891f3b 100644 --- a/pyload/plugin/crypter/ShareLinksBiz.py +++ b/pyload/plugin/crypter/ShareLinksBiz.py @@ -3,7 +3,8 @@ import binascii import re -from Crypto.Cipher import AES +import Crypto + from pyload.plugin.Crypter import Crypter @@ -267,7 +268,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 |