From 7a318c21d0c4765d343e3c359f92123480327ae2 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 11 Aug 2013 17:32:14 +0200 Subject: another try to fix broken accounts --- pyload/plugins/Account.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pyload/plugins/Account.py') diff --git a/pyload/plugins/Account.py b/pyload/plugins/Account.py index ac2aebe3e..26a6124b6 100644 --- a/pyload/plugins/Account.py +++ b/pyload/plugins/Account.py @@ -237,9 +237,10 @@ class Account(Base): self.logDebug("Deprecated method .getAccountCookies -> use account.cj") return self.cj - def getAccountData(self, user): + def getAccountData(self, *args): self.logDebug("Deprecated method .getAccountData -> use fields directly") - return {"password": self.password} + return {"password": self.password, "premium": self.premium, "trafficleft": self.trafficleft, + "maxtraffic" : self.maxtraffic, "validuntil": self.validuntil} def isPremium(self, user=None): if user: self.logDebug("Deprecated Argument user for .isPremium()", user) -- cgit v1.2.3