diff options
author | stickell <l.stickell@yahoo.it> | 2014-07-08 12:36:09 +0200 |
---|---|---|
committer | stickell <l.stickell@yahoo.it> | 2014-07-08 12:36:09 +0200 |
commit | d7c54bdd118f30f1ff9a2577e3ab35401f4bba6f (patch) | |
tree | 6097e2b4408219d5147b251b1dff735fa67b1a49 /module/plugins/Account.py | |
parent | New crypter FilecloudIoFolder (diff) | |
parent | Update Account.py (diff) | |
download | pyload-d7c54bdd118f30f1ff9a2577e3ab35401f4bba6f.tar.xz |
Merge pull request #681 from thuvh/patch-1
Fixed Account.py
Diffstat (limited to 'module/plugins/Account.py')
-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 f6c59ae25..847a686ec 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] + 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: |