diff options
author | Florian <stayawake@lavabit.com> | 2014-02-13 12:12:50 +0100 |
---|---|---|
committer | Florian <stayawake@lavabit.com> | 2014-02-13 12:12:50 +0100 |
commit | 9f584daeb7330a6cc1ff4440ab86d742a34eeb82 (patch) | |
tree | 539c86ebe63607cf3beeb38ac3e11bdce9837e73 /scripts | |
parent | 963b45f4c04c4da390aa9faa12e82691ffcb2237 (diff) |
status_script will save statusfile and exit
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/status_script.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/status_script.py b/scripts/status_script.py index 739cfcf..a5595ac 100755 --- a/scripts/status_script.py +++ b/scripts/status_script.py @@ -115,6 +115,7 @@ if __name__ == '__main__': last_change = status_file.readline().rstrip() except Exception: save_statusfile(STATUSFILE, s.door_status()) + exit() # check if status changed, if yes, update css and tweet it if s.door_status() != old_status: |