From e44f9c2b412027a71cc1bb048cb5a4737d93d481 Mon Sep 17 00:00:00 2001 From: Ahrimdon Date: Sun, 3 Mar 2024 00:40:36 -0500 Subject: [PATCH] small change to timer decimal values and print statement wording --- parse_db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse_db.py b/parse_db.py index be17c7b..35286cb 100644 --- a/parse_db.py +++ b/parse_db.py @@ -22,7 +22,7 @@ def delete_existing_db(output_db_path): """Check for an existing parsed DB and delete it if found.""" if os.path.exists(output_db_path): os.remove(output_db_path) - print(f"Existing parsed database at {output_db_path} has been deleted.") + print(f"Existing parsed database at {output_db_path} has been removed.") def main(): args = setup_argparser() @@ -73,7 +73,7 @@ def main(): if args.time: end_time = time.time() # End timing - print(f"Script execution time: {end_time - start_time:.2f} seconds") # Print execution time + print(f"Script execution time: {end_time - start_time:.4f} seconds") # Print execution time def ip_address_table(existing_cur, new_cur): def fetch_client_info(src_cur):