From 304a42b914cde43a31a935181b0f952c726eee54 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 12 May 2015 14:03:56 +0200 Subject: Other import fixes (2) --- pyload/plugin/crypter/LinkCryptWs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/plugin/crypter/LinkCryptWs.py') diff --git a/pyload/plugin/crypter/LinkCryptWs.py b/pyload/plugin/crypter/LinkCryptWs.py index c997cbf9f..98a796aed 100644 --- a/pyload/plugin/crypter/LinkCryptWs.py +++ b/pyload/plugin/crypter/LinkCryptWs.py @@ -5,7 +5,7 @@ import re import pycurl -from Crypto.Cipher import AES +import Crypto from pyload.plugin.Crypter import Crypter from pyload.utils import html_unescape @@ -309,7 +309,7 @@ class LinkCryptWs(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 -- cgit v1.2.3