summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-04 00:52:28 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-04 00:52:28 +0200
commit6ed8c47342b7e12f838c206258f5179d64d2bf58 (patch)
tree142799f51e06048d0c29d14c896de8eb3c9830b5 /module/plugins/Account.py
parenttime settings for accounts (diff)
downloadpyload-6ed8c47342b7e12f838c206258f5179d64d2bf58.tar.xz
closed #142
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r--module/plugins/Account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index 8c400f6e5..1d625f669 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -151,7 +151,7 @@ class Account():
return choice(usable)
def canUse(self):
- return True if self.selectAccount() else False
+ return False if self.selectAccount() == (None, None) else True
def parseTraffic(self, string): #returns kbyte
string = string.strip().lower()