summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/NoPremiumPl.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/NoPremiumPl.py')
-rw-r--r--module/plugins/accounts/NoPremiumPl.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/NoPremiumPl.py b/module/plugins/accounts/NoPremiumPl.py
index e9dad7647..79369e105 100644
--- a/module/plugins/accounts/NoPremiumPl.py
+++ b/module/plugins/accounts/NoPremiumPl.py
@@ -11,7 +11,7 @@ from module.plugins.internal.Account import Account
class NoPremiumPl(Account):
__name__ = "NoPremiumPl"
__type__ = "account"
- __version__ = "0.03"
+ __version__ = "0.04"
__status__ = "testing"
__description__ = "NoPremium.pl account plugin"
@@ -32,7 +32,7 @@ class NoPremiumPl(Account):
_pwd = None
- def parse_info(self, name, req):
+ def grab_info(self, user, password, data, req):
self._req = req
try:
result = json_loads(self.run_auth_query())
@@ -62,10 +62,10 @@ class NoPremiumPl(Account):
try:
response = json_loads(self.run_auth_query())
except Exception:
- self.login_fail()
+ self.fail_login()
if "errno" in response.keys():
- self.login_fail()
+ self.fail_login()
data['usr'] = self._usr
data['pwd'] = self._pwd