diff --git a/collect.py b/collect.py index 06651f7..ae46e06 100644 --- a/collect.py +++ b/collect.py @@ -380,7 +380,10 @@ def main(): print(f"{i} ", end="", flush=True) time.sleep(minutesToWait * 60) print("") + except KeyboardInterrupt: + exit() + try: print("Starting Collection") # Collect data