summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/OboomCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-12 17:21:33 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-12 17:21:33 +0200
commit0c525f750dad3f57297836ddea02da7d42ad5969 (patch)
tree2df5f1cd3fb29c71386e197ab782a7385b8e42bd /pyload/plugin/account/OboomCom.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-0c525f750dad3f57297836ddea02da7d42ad5969.tar.xz
Other import fixes (4)
Diffstat (limited to 'pyload/plugin/account/OboomCom.py')
-rw-r--r--pyload/plugin/account/OboomCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/account/OboomCom.py b/pyload/plugin/account/OboomCom.py
index 4669ca61e..b140b9282 100644
--- a/pyload/plugin/account/OboomCom.py
+++ b/pyload/plugin/account/OboomCom.py
@@ -4,8 +4,8 @@ try:
from beaker.crypto.pbkdf2 import PBKDF2
except ImportError:
+ import binascii
from beaker.crypto.pbkdf2 import pbkdf2
- from binascii import b2a_hex
class PBKDF2(object):
@@ -16,7 +16,7 @@ except ImportError:
def hexread(self, octets):
- return b2a_hex(pbkdf2(self.passphrase, self.salt, self.iterations, octets))
+ return binascii.b2a_hex(pbkdf2(self.passphrase, self.salt, self.iterations, octets))
from pyload.utils import json_loads
from pyload.plugin.Account import Account