diff options
author | synweap15 <shamdog+github@gmail.com> | 2014-07-09 12:15:03 +0200 |
---|---|---|
committer | synweap15 <shamdog+github@gmail.com> | 2014-07-09 12:15:03 +0200 |
commit | dfd5cb44138494b803f66559747cacc1260b5595 (patch) | |
tree | 7177d4e941dc8bf32c0d2a83de4403d4b06a5acf /module/plugins/hoster | |
parent | fix json loads, dumps on ImportError exception (diff) | |
download | pyload-dfd5cb44138494b803f66559747cacc1260b5595.tar.xz |
simplify json loads, replace crypto with hashlib
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/NoPremiumPl.py | 7 |
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 |