diff options
author | 2013-08-11 17:32:14 +0200 | |
---|---|---|
committer | 2013-08-11 17:32:14 +0200 | |
commit | 7a318c21d0c4765d343e3c359f92123480327ae2 (patch) | |
tree | 881c5c956742a1614663e462e6390024b96b90da /pyload/plugins/Account.py | |
parent | fixed replace rule (diff) | |
download | pyload-7a318c21d0c4765d343e3c359f92123480327ae2.tar.xz |
another try to fix broken accounts
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) |