summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/NoPremiumPl.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hooks/NoPremiumPl.py b/module/plugins/hooks/NoPremiumPl.py
index 121e92f91..47aa117df 100644
--- a/module/plugins/hooks/NoPremiumPl.py
+++ b/module/plugins/hooks/NoPremiumPl.py
@@ -4,9 +4,10 @@ from module.plugins.internal.MultiHoster import MultiHoster
from module.network.RequestFactory import getURL
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(MultiHoster):
__name__ = "NoPremiumPl"