summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/status_script.py1
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: