summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FreeWayMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-21 00:54:03 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-21 00:54:03 +0200
commit97d25752691aa561c29a91166fdd30302bef2db2 (patch)
treee397bf78d74dcce50cec0f6d46eb414b7a6696f7 /module/plugins/accounts/FreeWayMe.py
parentMerge branch 'pr/n1788_GammaC0de' into stable (diff)
downloadpyload-97d25752691aa561c29a91166fdd30302bef2db2.tar.xz
[Account] parse_info -> grab_info
Diffstat (limited to 'module/plugins/accounts/FreeWayMe.py')
-rw-r--r--module/plugins/accounts/FreeWayMe.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/FreeWayMe.py b/module/plugins/accounts/FreeWayMe.py
index 0c315873f..49e82ca54 100644
--- a/module/plugins/accounts/FreeWayMe.py
+++ b/module/plugins/accounts/FreeWayMe.py
@@ -15,7 +15,7 @@ class FreeWayMe(Account):
__authors__ = [("Nicolas Giese", "james@free-way.me")]
- def parse_info(self, user, password, data, req):
+ def grab_info(self, user, password, data, req):
status = self.get_account_status(user, password, req)
self.log_debug(status)
@@ -38,7 +38,7 @@ class FreeWayMe(Account):
#: Check if user and password are valid
if not status:
- self.login_fail()
+ self.fail_login()
def get_account_status(self, user, password, req):
@@ -48,6 +48,6 @@ class FreeWayMe(Account):
self.log_debug("Login: %s" % answer)
if answer == "Invalid login":
- self.login_fail()
+ self.fail_login()
return json_loads(answer)