summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FastixRu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-11 15:42:39 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-11 15:42:39 +0200
commit6a0fb7fdd4ea2749be44625225d8a235a78f032f (patch)
tree571261d5c54913459a9016e689d07303c4376d07 /module/plugins/accounts/FastixRu.py
parentPattern update 3 (diff)
downloadpyload-6a0fb7fdd4ea2749be44625225d8a235a78f032f.tar.xz
[accounts] Code cosmetics
Diffstat (limited to 'module/plugins/accounts/FastixRu.py')
-rw-r--r--module/plugins/accounts/FastixRu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/plugins/accounts/FastixRu.py b/module/plugins/accounts/FastixRu.py
index 10328b840..8ced61f15 100644
--- a/module/plugins/accounts/FastixRu.py
+++ b/module/plugins/accounts/FastixRu.py
@@ -27,6 +27,7 @@ class FastixRu(Account):
account_info = {"validuntil": None, "trafficleft": None, "premium": False}
return account_info
+
def login(self, user, data, req):
page = req.load("http://fastix.ru/api_v2/?sub=get_apikey&email=%s&password=%s" % (user, data['password']))
api = json_loads(page)