diff options
author | stickell <l.stickell@yahoo.it> | 2014-07-13 20:32:44 +0200 |
---|---|---|
committer | stickell <l.stickell@yahoo.it> | 2014-07-13 20:32:44 +0200 |
commit | 01890bf1370b801dd95c97559530cb57321a3559 (patch) | |
tree | 34da2cb63ad815092b303f82ad1064bcae11a23a /module | |
parent | [LoadTo] renamed pattern (diff) | |
download | pyload-01890bf1370b801dd95c97559530cb57321a3559.tar.xz |
[Account] fixed bug introduced in 01e76034bcad5e5aab7f6e141782071e5c328649
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/Account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py index 847a686ec..abeafad3a 100644 --- a/module/plugins/Account.py +++ b/module/plugins/Account.py @@ -287,7 +287,7 @@ class Account(Base): def checkLogin(self, user): """ checks if user is still logged in """ if user in self.timestamps: - if self.login_timeout > 0 and self.timestamps[user] + self.login_timeout * 60 > time(): + if self.login_timeout > 0 and self.timestamps[user] + self.login_timeout * 60 < time(): self.logDebug("Reached login timeout for %s" % user) return self.relogin(user) else: |