summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-05 13:52:24 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-05 13:52:24 +0200
commit23a78c13c0176cc9db27135bc3620170f514a95f (patch)
treeca827b97d282d20c3bd509a008a1fa1213c1f472 /module/plugins/Account.py
parentconfig parser fix, UploadedTo premium working (diff)
downloadpyload-23a78c13c0176cc9db27135bc3620170f514a95f.tar.xz
RapidshareCom premium
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r--module/plugins/Account.py3
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+)(.*)")