diff options
Diffstat (limited to 'module/plugins/hoster/MyfastfileCom.py')
-rw-r--r-- | module/plugins/hoster/MyfastfileCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/MyfastfileCom.py b/module/plugins/hoster/MyfastfileCom.py index 2885a5634..29b40e4c8 100644 --- a/module/plugins/hoster/MyfastfileCom.py +++ b/module/plugins/hoster/MyfastfileCom.py @@ -2,14 +2,14 @@ import re -from module.common.json_layer import json_loads +from module.plugins.internal.utils import json from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo class MyfastfileCom(MultiHoster): __name__ = "MyfastfileCom" __type__ = "hoster" - __version__ = "0.11" + __version__ = "0.12" __status__ = "testing" __pattern__ = r'http://\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/dl/' @@ -33,7 +33,7 @@ class MyfastfileCom(MultiHoster): 'link': pyfile.url}) self.log_debug("JSON data: " + self.html) - self.html = json_loads(self.html) + self.html = json.loads(self.html) if self.html['status'] != 'ok': self.fail(_("Unable to unrestrict link")) |