summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Account.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-24 23:57:04 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-24 23:57:04 +0200
commitdd13825fbd3df9e441200638cd2a92e3924dfff6 (patch)
tree9159fc1b77d6f6dbf1e7871ed2fb64886f433f1f /module/plugins/internal/Account.py
parentCode cosmetics (diff)
downloadpyload-dd13825fbd3df9e441200638cd2a92e3924dfff6.tar.xz
Fix typo
Diffstat (limited to 'module/plugins/internal/Account.py')
-rw-r--r--module/plugins/internal/Account.py4
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