summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
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+)(.*)")