From dd13825fbd3df9e441200638cd2a92e3924dfff6 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 24 Jul 2015 23:57:04 +0200 Subject: Fix typo --- module/plugins/internal/Account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/internal/Account.py') diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index eaf988974..03521a0ea 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -126,7 +126,7 @@ class Account(Plugin): if options: before = self.accounts[user]['options'] self.accounts[user]['options'].update(options) - return self.accounts[user]['options'] not is before + return self.accounts[user]['options'] is not before else: self.accounts[user] = {'password': password, 'options': options, 'valid': True} self._login(user, self.accounts[user]) @@ -291,7 +291,7 @@ class Account(Plugin): def can_use(self): - return self.select_account() not is (None, None) + return self.select_account() is not (None, None) def parse_traffic(self, value, unit=None): #: Return kilobytes -- cgit v1.2.3