summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/Account.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 17:32:14 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 17:32:14 +0200
commit7a318c21d0c4765d343e3c359f92123480327ae2 (patch)
tree881c5c956742a1614663e462e6390024b96b90da /pyload/plugins/Account.py
parentfixed replace rule (diff)
downloadpyload-7a318c21d0c4765d343e3c359f92123480327ae2.tar.xz
another try to fix broken accounts
Diffstat (limited to 'pyload/plugins/Account.py')
-rw-r--r--pyload/plugins/Account.py5
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)