diff options
author | Florian <stayawake@lavabit.com> | 2014-02-13 00:58:36 +0100 |
---|---|---|
committer | Florian <stayawake@lavabit.com> | 2014-02-13 00:58:36 +0100 |
commit | 2490960480bb39a5f775058119ba2a9eb42196fe (patch) | |
tree | 39739ce7fdc798a3a546adf378757d3fc3eb74b8 /scripts | |
parent | 3457dbe1b17a61ffc29312c7d96001325d21b01d (diff) |
another stupid bugfix, I cannot concentrate anymore
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/status_script.py | 2 |
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) |