summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Locker.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Locker.py b/Locker.py
index f8e97ce..fd2f5ed 100644
--- a/Locker.py
+++ b/Locker.py
@@ -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)