summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-17 14:36:29 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-17 14:36:29 +0200
commitc22c64c348e1fd52cc88177c4b5ff099a30a62bd (patch)
treeee5f9cf9f6f1a623dc3a44bad0737ad514efcf76 /module/plugins/Account.py
parenthotfile + freakshare fix (diff)
downloadpyload-c22c64c348e1fd52cc88177c4b5ff099a30a62bd.tar.xz
account update
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r--module/plugins/Account.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index af8b6ebe8..61101347d 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -57,12 +57,13 @@ class Account():
def getAccountInfo(self, name):
return {
- "validuntil": None,
+ "validuntil": None, # -1 for unlimited
"login": name,
- "password": self.accounts[name]["password"],
+ #"password": self.accounts[name]["password"], #@XXX: security
"options": self.accounts[name]["options"],
- "trafficleft": None,
- "type": self.__name__
+ "trafficleft": None, # -1 for unlimited
+ "maxtraffic": None,
+ "type": self.__name__,
}
def getAllAccounts(self):