summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-04-18 14:24:28 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-04-18 14:24:28 +0200
commit0164d236e868acaede0e5383fd0bbe6ac4200ac7 (patch)
tree322b6067f9649ee536107f2f3d9bfa1aa24b9a8c
parentb26615eaa13a858ff9b26450af9ce10184555181 (diff)
downloadpylock-0164d236e868acaede0e5383fd0bbe6ac4200ac7.tar
pylock-0164d236e868acaede0e5383fd0bbe6ac4200ac7.zip
Fix pylock using 100% CPU when the lock is active
-rw-r--r--pylock/Locker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylock/Locker.py b/pylock/Locker.py
index 5243609..56cd9e8 100644
--- a/pylock/Locker.py
+++ b/pylock/Locker.py
@@ -58,7 +58,7 @@ class Locker(object):
if self.currentLogoutTimeout > 0:
GLib.timeout_add_seconds(1, self._checkLogout)
- return True
+ return False
def unlock(self):
if self.locked: