diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-06-18 12:00:12 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-06-18 12:00:12 +0200 |
commit | 115b2257a506f21f7e069fdbba49ac001292d79b (patch) | |
tree | 118a65b211c013b921886cf0b056370f6227bbc0 | |
parent | 478a9293b7e3b2efcd64d80237a7c0f9b34e21ac (diff) | |
download | pylock-115b2257a506f21f7e069fdbba49ac001292d79b.tar pylock-115b2257a506f21f7e069fdbba49ac001292d79b.zip |
Stop logout timer after unlock
-rw-r--r-- | Locker.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -54,6 +54,9 @@ class Locker(object): return True def _checkLogout(self): + if not self.locked: + return False + self.currentLogoutTimeout = self.currentLogoutTimeout - 1 if self.updateLogoutTimeout is not None: self.updateLogoutTimeout(self.currentLogoutTimeout) |