From 1e35da27b79e7dd0446285aa129e32a0686603eb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 10 Apr 2014 20:33:00 +0200 Subject: typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/nightshift.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nightshift.py b/src/nightshift.py index 4cfc246..7a1e36e 100755 --- a/src/nightshift.py +++ b/src/nightshift.py @@ -243,7 +243,7 @@ def read_status(proc): red_brightness = float(value) # Neither version is followed by anything, notify red_condition.notify_all() - else key == 'Status': + elif key == 'Status': red_status = value == 'Enabled' # Not followed by anything, notify red_condition.notify_all() -- cgit v1.2.3-70-g09d2