From 9d3f9e9bfb263d2c2fb891c05eeef6416c3ef12b Mon Sep 17 00:00:00 2001 From: gregory Date: Thu, 13 Mar 2025 16:51:02 -0400 Subject: [PATCH] clean up --- save_progress_reports.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/save_progress_reports.py b/save_progress_reports.py index 614123d..4ba4c9c 100644 --- a/save_progress_reports.py +++ b/save_progress_reports.py @@ -22,7 +22,7 @@ DEFAULT_CONFIG_PATH = './config.ini' DEFAULT_OUTPUT_PATH = './' DEFAULT_WORKING_DIRECTORY = './tmp' DEFAULT_APP_URL = 'https://app.flightschedulepro.com' -DEFAULT_TIMEOUT = 10 #seconds +DEFAULT_TIMEOUT = 10 # seconds DEFAULT_MAX_SESSIONS = 500 @@ -81,7 +81,7 @@ else: print(f'unsupported driver type "{driver_type}"') sys.exit(1) -# optionally prints a message and closes the web driver before exiting +# optionally prints a message and cleans up before exiting def die(message=None): if message is not None: print(message) @@ -241,5 +241,5 @@ for student in args.students: writer.write(output_path) writer.close() - +# You should really just die() \ No newline at end of file