From 16f30c55e054c33fc02c1b1e6c46aad447953499 Mon Sep 17 00:00:00 2001 From: Stefano Date: Fri, 18 Apr 2014 16:55:30 +0200 Subject: Bayfiles: relogin requires user argument (cherry picked from commit d8f283c18034f45bcf767852d90c00add7e9f5cd) --- pyload/plugins/accounts/BayfilesCom.py | 4 ++-- 1 file 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} -- cgit v1.2.3