diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-11 15:42:39 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-11 15:42:39 +0200 |
commit | 6a0fb7fdd4ea2749be44625225d8a235a78f032f (patch) | |
tree | 571261d5c54913459a9016e689d07303c4376d07 /module/plugins/accounts/BayfilesCom.py | |
parent | Pattern update 3 (diff) | |
download | pyload-6a0fb7fdd4ea2749be44625225d8a235a78f032f.tar.xz |
[accounts] Code cosmetics
Diffstat (limited to 'module/plugins/accounts/BayfilesCom.py')
-rw-r--r-- | module/plugins/accounts/BayfilesCom.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/plugins/accounts/BayfilesCom.py b/module/plugins/accounts/BayfilesCom.py index b1166b83a..2b6d45a18 100644 --- a/module/plugins/accounts/BayfilesCom.py +++ b/module/plugins/accounts/BayfilesCom.py @@ -28,6 +28,7 @@ class BayfilesCom(Account): return {"premium": bool(response['premium']), "trafficleft": -1, "validuntil": response['expires'] if response['expires'] >= int(time()) else -1} + def login(self, user, data, req): response = json_loads(req.load("http://api.bayfiles.com/v1/account/login/%s/%s" % (user, data['password']))) self.logDebug(response) |