diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-08 19:50:05 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-08 19:50:05 +0100 |
commit | 6811adcc768577d6d5deafdc305d93be2e64ac95 (patch) | |
tree | 792ca7f40c350905b378b00483d1873d2bd67c98 | |
parent | fixed last commit (diff) | |
download | pyload-6811adcc768577d6d5deafdc305d93be2e64ac95.tar.xz |
more fixes for older plugins
-rw-r--r-- | pyload/plugins/Account.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyload/plugins/Account.py b/pyload/plugins/Account.py index d62825cad..4e6f174d2 100644 --- a/pyload/plugins/Account.py +++ b/pyload/plugins/Account.py @@ -238,6 +238,10 @@ class Account(Base): self.logDebug("Deprecated method .getAccountCookies -> use account.cj") return self.cj + def selectAccount(self, *args): + self.logDebug("Deprecated method .selectAccount() -> use fields directly") + return self.loginname, self.getAccountData() + def getAccountData(self, *args): self.logDebug("Deprecated method .getAccountData -> use fields directly") return {"password": self.password, "premium": self.premium, "trafficleft": self.trafficleft, |