diff options
author | 2015-05-12 14:03:56 +0200 | |
---|---|---|
committer | 2015-05-12 14:03:56 +0200 | |
commit | 304a42b914cde43a31a935181b0f952c726eee54 (patch) | |
tree | 104a496ed690c187a479cde5b829f4e76b21c1cd /pyload/plugin/hoster/TurbobitNet.py | |
parent | Other import fixes (diff) | |
download | pyload-304a42b914cde43a31a935181b0f952c726eee54.tar.xz |
Other import fixes (2)
Diffstat (limited to 'pyload/plugin/hoster/TurbobitNet.py')
-rw-r--r-- | pyload/plugin/hoster/TurbobitNet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hoster/TurbobitNet.py b/pyload/plugin/hoster/TurbobitNet.py index bcbeddd17..8138e2e23 100644 --- a/pyload/plugin/hoster/TurbobitNet.py +++ b/pyload/plugin/hoster/TurbobitNet.py @@ -7,7 +7,7 @@ import re import time import urllib -from Crypto.Cipher import ARC4 +import Crypto from pyload.network.RequestFactory import getURL from pyload.plugin.captcha.ReCaptcha import ReCaptcha @@ -155,7 +155,7 @@ class TurbobitNet(SimpleHoster): def decrypt(self, data): - cipher = ARC4.new(binascii.hexlify('E\x15\xa1\x9e\xa3M\xa0\xc6\xa0\x84\xb6H\x83\xa8o\xa0')) + cipher = Crypto.Cipher.ARC4.new(binascii.hexlify('E\x15\xa1\x9e\xa3M\xa0\xc6\xa0\x84\xb6H\x83\xa8o\xa0')) return binascii.unhexlify(cipher.encrypt(binascii.unhexlify(data))) |