diff options
Diffstat (limited to 'module/plugins/internal/Account.py')
-rw-r--r-- | module/plugins/internal/Account.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |