diff options
author | mkaay <mkaay@mkaay.de> | 2010-08-05 13:52:24 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-08-05 13:52:24 +0200 |
commit | 23a78c13c0176cc9db27135bc3620170f514a95f (patch) | |
tree | ca827b97d282d20c3bd509a008a1fa1213c1f472 /module/plugins/Account.py | |
parent | config parser fix, UploadedTo premium working (diff) | |
download | pyload-23a78c13c0176cc9db27135bc3620170f514a95f.tar.xz |
RapidshareCom premium
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r-- | module/plugins/Account.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py index af1c4a383..3b18e563f 100644 --- a/module/plugins/Account.py +++ b/module/plugins/Account.py @@ -72,6 +72,9 @@ class Account(): account = self.accounts.items()[randrange(0, len(self.accounts), 1)] return account + def canUse(self): + return len(self.accounts) + def parseTraffic(self, string): #returns kbyte string = string.strip().lower() p = re.compile(r"(\d+[\.,]\d+)(.*)") |