diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-21 00:54:03 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-21 00:54:03 +0200 |
commit | 97d25752691aa561c29a91166fdd30302bef2db2 (patch) | |
tree | e397bf78d74dcce50cec0f6d46eb414b7a6696f7 /module/plugins/accounts/FastixRu.py | |
parent | Merge branch 'pr/n1788_GammaC0de' into stable (diff) | |
download | pyload-97d25752691aa561c29a91166fdd30302bef2db2.tar.xz |
[Account] parse_info -> grab_info
Diffstat (limited to 'module/plugins/accounts/FastixRu.py')
-rw-r--r-- | module/plugins/accounts/FastixRu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/FastixRu.py b/module/plugins/accounts/FastixRu.py index 13edbbb44..99510f2ff 100644 --- a/module/plugins/accounts/FastixRu.py +++ b/module/plugins/accounts/FastixRu.py @@ -15,7 +15,7 @@ class FastixRu(Account): __authors__ = [("Massimo Rosamilia", "max@spiritix.eu")] - def parse_info(self, user, password, data, req): + def grab_info(self, user, password, data, req): data = self.get_data(user) html = json_loads(self.load("http://fastix.ru/api_v2/", get={'apikey': data['api'], @@ -43,4 +43,4 @@ class FastixRu(Account): data['api'] = api if "error_code" in html: - self.login_fail() + self.fail_login() |