summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-04-18 16:55:30 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-18 16:55:30 +0200
commitd8f283c18034f45bcf767852d90c00add7e9f5cd (patch)
tree300a951a91fef72d7de31144743f9ac759cce025 /module
parentRemoved unused imports (diff)
downloadpyload-d8f283c18034f45bcf767852d90c00add7e9f5cd.tar.xz
Bayfiles: relogin requires user argument
Diffstat (limited to 'module')
-rw-r--r--module/plugins/accounts/BayfilesCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/BayfilesCom.py b/module/plugins/accounts/BayfilesCom.py
index 9aaa08a12..bbd81e10b 100644
--- a/module/plugins/accounts/BayfilesCom.py
+++ b/module/plugins/accounts/BayfilesCom.py
@@ -25,7 +25,7 @@ from module.common.json_layer import json_loads
class BayfilesCom(Account):
__name__ = "BayfilesCom"
- __version__ = "0.02"
+ __version__ = "0.03"
__type__ = "account"
__description__ = """Bayfiles.com account plugin"""
__author_name__ = "zoidberg"
@@ -38,7 +38,7 @@ class BayfilesCom(Account):
if not response["error"]:
break
self.logWarning(response["error"])
- self.relogin()
+ self.relogin(user)
return {"premium": bool(response['premium']), "trafficleft": -1,
"validuntil": response['expires'] if response['expires'] >= int(time()) else -1}