summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FileserveCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FileserveCom.py')
-rw-r--r--module/plugins/accounts/FileserveCom.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/module/plugins/accounts/FileserveCom.py b/module/plugins/accounts/FileserveCom.py
index 86401a486..bc56d4b96 100644
--- a/module/plugins/accounts/FileserveCom.py
+++ b/module/plugins/accounts/FileserveCom.py
@@ -9,7 +9,7 @@ from module.common.json_layer import json_loads
class FileserveCom(Account):
__name__ = "FileserveCom"
__type__ = "account"
- __version__ = "0.23"
+ __version__ = "0.24"
__status__ = "testing"
__description__ = """Fileserve.com account plugin"""
@@ -17,9 +17,7 @@ class FileserveCom(Account):
__authors__ = [("mkaay", "mkaay@mkaay.de")]
- def grab_info(self, user, password, data, req):
- data = self.get_data(user)
-
+ def grab_info(self, user, password, data):
html = self.load("http://app.fileserve.com/api/login/",
post={'username': user,
'password': password,
@@ -33,7 +31,7 @@ class FileserveCom(Account):
return {'premium': False, 'trafficleft': None, 'validuntil': None}
- def login(self, user, password, data, req):
+ def signin(self, user, password, data):
html = self.load("http://app.fileserve.com/api/login/",
post={'username': user,
'password': password,