summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NoPremiumPl.py
diff options
context:
space:
mode:
authorGravatar synweap15 <shamdog+github@gmail.com> 2014-07-09 12:05:22 +0200
committerGravatar synweap15 <shamdog+github@gmail.com> 2014-07-09 12:05:22 +0200
commitce18793af9864acdf9e9c71b7324d923a53adaad (patch)
tree64d4543160ab55860d83a796dcf2366d951c84d5 /module/plugins/hoster/NoPremiumPl.py
parentremove blank lines and unused imports (diff)
downloadpyload-ce18793af9864acdf9e9c71b7324d923a53adaad.tar.xz
fix json loads, dumps on ImportError exception
Diffstat (limited to 'module/plugins/hoster/NoPremiumPl.py')
-rw-r--r--module/plugins/hoster/NoPremiumPl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/NoPremiumPl.py b/module/plugins/hoster/NoPremiumPl.py
index bd5260a55..86255f95a 100644
--- a/module/plugins/hoster/NoPremiumPl.py
+++ b/module/plugins/hoster/NoPremiumPl.py
@@ -3,7 +3,8 @@
try:
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
from module.plugins.internal.SimpleHoster import SimpleHoster