aboutsummaryrefslogtreecommitdiffstats
path: root/src/nightshift.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/nightshift.py')
-rwxr-xr-xsrc/nightshift.py2
1 files changed, 1 insertions, 1 deletions
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()