summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FastixRu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FastixRu.py')
-rw-r--r--module/plugins/accounts/FastixRu.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/accounts/FastixRu.py b/module/plugins/accounts/FastixRu.py
index d8c992bb3..1fe93fb14 100644
--- a/module/plugins/accounts/FastixRu.py
+++ b/module/plugins/accounts/FastixRu.py
@@ -18,8 +18,7 @@ class FastixRu(Account):
data = self.get_account_data(user)
html = json_loads(self.load("http://fastix.ru/api_v2/",
get={'apikey': data['api'],
- 'sub' : "getaccountdetails"}),
- req=req)
+ 'sub' : "getaccountdetails"}))
points = html['points']
kb = float(points) * 1024 ** 2 / 1000
@@ -35,8 +34,7 @@ class FastixRu(Account):
html = self.load("https://fastix.ru/api_v2/",
get={'sub' : "get_apikey",
'email' : user,
- 'password': data['password']},
- req=req)
+ 'password': data['password']})
api = json_loads(html)
api = api['apikey']