diff options
author | Hoai-Thu Vuong <thuvh@users.noreply.github.com> | 2014-07-08 07:50:41 +0200 |
---|---|---|
committer | Hoai-Thu Vuong <thuvh@users.noreply.github.com> | 2014-07-08 07:50:41 +0200 |
commit | c34ce034ceff9cd99e9e49c32128d090888d93cc (patch) | |
tree | 6097e2b4408219d5147b251b1dff735fa67b1a49 /module/plugins | |
parent | New crypter FilecloudIoFolder (diff) | |
download | pyload-c34ce034ceff9cd99e9e49c32128d090888d93cc.tar.xz |
Update Account.py
I running and received error no define of login_timeout, after adding self. it work perfectly
Diffstat (limited to 'module/plugins')
-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: |