From 2613f80f3803b8b2a483b5c9e773eb46ef2a3fb6 Mon Sep 17 00:00:00 2001 From: Gabe Ortiz Date: Fri, 12 May 2023 11:32:34 -0600 Subject: [PATCH] fix bug that crops up when we start the script during cal event --- standing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/standing.py b/standing.py index 624994e..bc7df9a 100644 --- a/standing.py +++ b/standing.py @@ -53,6 +53,7 @@ def main(): last_height_change_time = time.time() total_standing_time = 0 total_sitting_time = 0 + time_since_last_change = time.time() # Main loop while time.time() < end_time: