fix bug that crops up when we start the script during cal event

main
Gabe Ortiz 2 years ago committed by GitHub
parent 5a8da37132
commit 2613f80f38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -53,6 +53,7 @@ def main():
last_height_change_time = time.time() last_height_change_time = time.time()
total_standing_time = 0 total_standing_time = 0
total_sitting_time = 0 total_sitting_time = 0
time_since_last_change = time.time()
# Main loop # Main loop
while time.time() < end_time: while time.time() < end_time:

Loading…
Cancel
Save