summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NoPremiumPl.py
diff options
context:
space:
mode:
authorGravatar synweap15 <shamdog+github@gmail.com> 2014-07-09 12:15:03 +0200
committerGravatar synweap15 <shamdog+github@gmail.com> 2014-07-09 12:15:03 +0200
commitdfd5cb44138494b803f66559747cacc1260b5595 (patch)
tree7177d4e941dc8bf32c0d2a83de4403d4b06a5acf /module/plugins/hoster/NoPremiumPl.py
parentfix json loads, dumps on ImportError exception (diff)
downloadpyload-dfd5cb44138494b803f66559747cacc1260b5595.tar.xz
simplify json loads, replace crypto with hashlib
Diffstat (limited to 'module/plugins/hoster/NoPremiumPl.py')
-rw-r--r--module/plugins/hoster/NoPremiumPl.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/module/plugins/hoster/NoPremiumPl.py b/module/plugins/hoster/NoPremiumPl.py
index 86255f95a..39e5b435c 100644
--- a/module/plugins/hoster/NoPremiumPl.py
+++ b/module/plugins/hoster/NoPremiumPl.py
@@ -1,11 +1,6 @@
# -*- coding: utf-8 -*-
-try:
- from json import loads, dumps
-except ImportError:
- from module.common.json_layer import json_loads as loads
- from module.common.json_layer import json_dumps as dumps
-
+from module.common.json_layer import json_loads as loads
from module.plugins.internal.SimpleHoster import SimpleHoster