diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 19:14:29 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 19:14:29 +0200 |
commit | 9d9618ab35071f36840fe51e63fe2f887131dc5a (patch) | |
tree | 47028e89e5a7a2ede5e1d0eddfa7930ba367baf6 /module/plugins/hoster/SmoozedCom.py | |
parent | [SimpleCrypter] Don't use self.link(s) (diff) | |
download | pyload-9d9618ab35071f36840fe51e63fe2f887131dc5a.tar.xz |
Update hosters
Diffstat (limited to 'module/plugins/hoster/SmoozedCom.py')
-rw-r--r-- | module/plugins/hoster/SmoozedCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/SmoozedCom.py b/module/plugins/hoster/SmoozedCom.py index 5676e6190..8a03e637c 100644 --- a/module/plugins/hoster/SmoozedCom.py +++ b/module/plugins/hoster/SmoozedCom.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from module.common.json_layer import json_loads +from module.plugins.internal.utils import json from module.plugins.internal.MultiHoster import MultiHoster @@ -40,7 +40,7 @@ class SmoozedCom(MultiHoster): get_data = {'session_key': self.account.get_data('session'), 'url' : pyfile.url} - data = json_loads(self.load("http://www2.smoozed.com/api/check", get=get_data)) + data = json.loads(self.load("http://www2.smoozed.com/api/check", get=get_data)) if data['state'] != "ok": self.fail(data['message']) |