summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/NoPremiumPl.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/accounts/NoPremiumPl.py b/module/plugins/accounts/NoPremiumPl.py
index 494b559c3..7b4140169 100644
--- a/module/plugins/accounts/NoPremiumPl.py
+++ b/module/plugins/accounts/NoPremiumPl.py
@@ -7,9 +7,10 @@ from time import mktime
import module.lib.beaker.crypto as crypto
try:
- from json import loads
+ from json import loads, dumps
except ImportError:
- from simplejson import loads
+ from module.common.json_layer import json_loads as loads
+ from module.common.json_layer import json_dumps as dumps
class NoPremiumPl(Account):