From c9b42f02f83a95d7741eee96247466d3b610b159 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 23 Oct 2015 13:29:12 +0200 Subject: self.html -> self.data --- module/plugins/hoster/MyfastfileCom.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'module/plugins/hoster/MyfastfileCom.py') diff --git a/module/plugins/hoster/MyfastfileCom.py b/module/plugins/hoster/MyfastfileCom.py index 9aaeafe34..acdec9f2b 100644 --- a/module/plugins/hoster/MyfastfileCom.py +++ b/module/plugins/hoster/MyfastfileCom.py @@ -27,17 +27,17 @@ class MyfastfileCom(MultiHoster): def handle_premium(self, pyfile): - self.html = self.load('http://myfastfile.com/api.php', + self.data = self.load('http://myfastfile.com/api.php', get={'user': self.account.user, 'pass': self.account.get_login('password'), 'link': pyfile.url}) - self.log_debug("JSON data: " + self.html) + self.log_debug("JSON data: " + self.data) - self.html = json.loads(self.html) - if self.html['status'] != 'ok': + self.data = json.loads(self.data) + if self.data['status'] != 'ok': self.fail(_("Unable to unrestrict link")) - self.link = self.html['link'] + self.link = self.data['link'] getInfo = create_getInfo(MyfastfileCom) -- cgit v1.2.3