diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-10 20:33:00 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-10 20:33:00 +0200 |
commit | 1e35da27b79e7dd0446285aa129e32a0686603eb (patch) | |
tree | 2571b1a2adfb025b70ea21b961cfca2093e28924 | |
parent | m + send --status --toggle and --kill to the daemon (diff) | |
download | nightshift-1e35da27b79e7dd0446285aa129e32a0686603eb.tar.gz nightshift-1e35da27b79e7dd0446285aa129e32a0686603eb.tar.bz2 nightshift-1e35da27b79e7dd0446285aa129e32a0686603eb.tar.xz |
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-x | src/nightshift.py | 2 |
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() |