From 9327b55e147d95b5865f23788f980c7268ea03e3 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 20 Apr 2015 21:38:42 +0200 Subject: Spare code cosmetics (7) --- pyload/plugin/Account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/plugin/Account.py') diff --git a/pyload/plugin/Account.py b/pyload/plugin/Account.py index c46eae5e3..f025170b3 100644 --- a/pyload/plugin/Account.py +++ b/pyload/plugin/Account.py @@ -260,7 +260,7 @@ class Account(Base): def canUse(self): - return False if self.selectAccount() == (None, None) else True + return self.selectAccount() != (None, None) def parseTraffic(self, value, unit=None): #: return bytes -- cgit v1.2.3