summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MyfastfileCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/MyfastfileCom.py')
-rw-r--r--module/plugins/accounts/MyfastfileCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/MyfastfileCom.py b/module/plugins/accounts/MyfastfileCom.py
index 008b62cc6..edc081660 100644
--- a/module/plugins/accounts/MyfastfileCom.py
+++ b/module/plugins/accounts/MyfastfileCom.py
@@ -17,7 +17,7 @@ class MyfastfileCom(Account):
__authors__ = [("stickell", "l.stickell@yahoo.it")]
- def parse_info(self, user, password, data, req):
+ def grab_info(self, user, password, data, req):
if 'days_left' in self.json_data:
validuntil = time.time() + self.json_data['days_left'] * 24 * 60 * 60
return {'premium': True, 'validuntil': validuntil, 'trafficleft': -1}
@@ -36,4 +36,4 @@ class MyfastfileCom(Account):
self.json_data = json_loads(html)
if self.json_data['status'] != 'ok':
self.log_error(_('Invalid login. The password to use is the API-Password you find in your "My Account" page'))
- self.login_fail()
+ self.fail_login()