added second exit

This commit is contained in:
Marc Mance
2024-08-01 12:07:27 -04:00
parent 5b4be35dba
commit 7affd375c5

View File

@@ -380,7 +380,10 @@ def main():
print(f"{i} ", end="", flush=True) print(f"{i} ", end="", flush=True)
time.sleep(minutesToWait * 60) time.sleep(minutesToWait * 60)
print("") print("")
except KeyboardInterrupt:
exit()
try:
print("Starting Collection") print("Starting Collection")
# Collect data # Collect data