From 9f584daeb7330a6cc1ff4440ab86d742a34eeb82 Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 13 Feb 2014 12:12:50 +0100 Subject: status_script will save statusfile and exit --- scripts/status_script.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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: -- cgit v1.2.1