summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/OboomCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/OboomCom.py')
-rw-r--r--module/plugins/accounts/OboomCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/OboomCom.py b/module/plugins/accounts/OboomCom.py
index c19396854..a156ffb1d 100644
--- a/module/plugins/accounts/OboomCom.py
+++ b/module/plugins/accounts/OboomCom.py
@@ -16,7 +16,7 @@ except ImportError:
def hexread(self, octets):
return b2a_hex(pbkdf2(self.passphrase, self.salt, self.iterations, octets))
-from module.common.json_layer import json_loads
+from module.plugins.internal.utils import json
from module.plugins.internal.Account import Account
@@ -35,7 +35,7 @@ class OboomCom(Account):
salt = password[::-1]
pbkdf2 = PBKDF2(password, salt, 1000).hexread(16)
- result = json_loads(self.load("http://www.oboom.com/1/login", #@TODO: Revert to `https` in 0.4.10
+ result = json.loads(self.load("http://www.oboom.com/1/login", #@TODO: Revert to `https` in 0.4.10
get={'auth': user,
'pass': pbkdf2}))