aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-10 20:33:00 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-10 20:33:00 +0200
commit1e35da27b79e7dd0446285aa129e32a0686603eb (patch)
tree2571b1a2adfb025b70ea21b961cfca2093e28924
parentm + send --status --toggle and --kill to the daemon (diff)
downloadnightshift-1e35da27b79e7dd0446285aa129e32a0686603eb.tar.gz
nightshift-1e35da27b79e7dd0446285aa129e32a0686603eb.tar.bz2
nightshift-1e35da27b79e7dd0446285aa129e32a0686603eb.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-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()