summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian <stayawake@lavabit.com>2014-02-13 00:58:36 +0100
committerFlorian <stayawake@lavabit.com>2014-02-13 00:58:36 +0100
commit2490960480bb39a5f775058119ba2a9eb42196fe (patch)
tree39739ce7fdc798a3a546adf378757d3fc3eb74b8
parent3457dbe1b17a61ffc29312c7d96001325d21b01d (diff)
another stupid bugfix, I cannot concentrate anymore
-rwxr-xr-xscripts/status_script.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/status_script.py b/scripts/status_script.py
index bfc8ade..0f218d9 100755
--- a/scripts/status_script.py
+++ b/scripts/status_script.py
@@ -119,7 +119,7 @@ if __name__ == '__main__':
update_css(('#0f0', '#222', 'status-open.png'))
save_statusfile(STATUSFILE, s.door_status())
tweet('open', last_change)
- if s.door_status() == 'closed':
+ elif s.door_status() == 'closed':
save_statusfile(STATUSFILE, s.door_status())
update_css(('#222', '#f00', 'status-closed.png'))
tweet('closed', last_change)