From 0164d236e868acaede0e5383fd0bbe6ac4200ac7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 18 Apr 2013 14:24:28 +0200 Subject: Fix pylock using 100% CPU when the lock is active --- pylock/Locker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3