From 1c7d9e55ffbfc9204c9e9246d9cc64806fa38326 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 4 Oct 2015 04:29:58 +0200 Subject: Fixpack (2) --- module/plugins/hoster/FastixRu.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'module/plugins/hoster/FastixRu.py') diff --git a/module/plugins/hoster/FastixRu.py b/module/plugins/hoster/FastixRu.py index d932bb22e..83d91e8c3 100644 --- a/module/plugins/hoster/FastixRu.py +++ b/module/plugins/hoster/FastixRu.py @@ -10,7 +10,7 @@ from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo class FastixRu(MultiHoster): __name__ = "FastixRu" __type__ = "hoster" - __version__ = "0.15" + __version__ = "0.16" __status__ = "testing" __pattern__ = r'http://(?:www\.)?fastix\.(ru|it)/file/\w{24}' @@ -27,11 +27,11 @@ class FastixRu(MultiHoster): def handle_premium(self, pyfile): - self.html = json_loads(self.load("http://fastix.ru/api_v2/", - get={'apikey': self.account.get_data('apikey'), - 'sub' : "getdirectlink", - 'link' : pyfile.url}) - data = self.html) + self.html = self.load("http://fastix.ru/api_v2/", + get={'apikey': self.account.get_data('apikey'), + 'sub' : "getdirectlink", + 'link' : pyfile.url}) + data = json_loads(self.html) self.log_debug("Json data", data) -- cgit v1.2.3