diff options
Diffstat (limited to 'pyload/plugins/Account.py')
-rw-r--r-- | pyload/plugins/Account.py | 5 |
1 files changed, 3 insertions, 2 deletions
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) |