summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/Account.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/Account.py')
-rw-r--r--pyload/plugins/Account.py4
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,