summaryrefslogtreecommitdiffstats
path: root/pyload/plugins
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-21 17:23:24 +0200
commit16f30c55e054c33fc02c1b1e6c46aad447953499 (patch)
tree1aa551c2884302a0f0826cbb7afdd2c31fcd5415 /pyload/plugins
parentRemoved unused imports (diff)
downloadpyload-16f30c55e054c33fc02c1b1e6c46aad447953499.tar.xz
Bayfiles: relogin requires user argument
(cherry picked from commit d8f283c18034f45bcf767852d90c00add7e9f5cd)
Diffstat (limited to 'pyload/plugins')
-rw-r--r--pyload/plugins/accounts/BayfilesCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/accounts/BayfilesCom.py b/pyload/plugins/accounts/BayfilesCom.py
index 9aaa08a12..bbd81e10b 100644
--- a/pyload/plugins/accounts/BayfilesCom.py
+++ b/pyload/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}