diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-12 11:32:52 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-12 11:32:52 +0200 |
commit | ce13d035ed744c6df6c150efef785e8c3ce66de9 (patch) | |
tree | baf36f4b6dfd73f346909d575976b325146b37c8 /module/plugins/Account.py | |
parent | additional fix (diff) | |
download | pyload-ce13d035ed744c6df6c150efef785e8c3ce66de9.tar.xz |
speedmanager time fix
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r-- | module/plugins/Account.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py index 61101347d..f731eac17 100644 --- a/module/plugins/Account.py +++ b/module/plugins/Account.py @@ -53,7 +53,8 @@ class Account(): self.login(user, self.accounts[user]) def removeAccount(self, user): - del self.accounts[user] + if self.accounts.has_key(user): + del self.accounts[user] def getAccountInfo(self, name): return { |