From 6bcacd8a975980181ab540ec7d66d8ecd5ec292d Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Mon, 28 Jul 2025 22:52:32 -0400 Subject: [PATCH] Make variable --- scripts/write_file_msg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/write_file_msg.py b/scripts/write_file_msg.py index 133c427..9b3d46a 100755 --- a/scripts/write_file_msg.py +++ b/scripts/write_file_msg.py @@ -7,7 +7,7 @@ from datetime import datetime # Changable optonis: message = "Testing testing testing..." max_iterations = 5 - +msg_delay = 0.2 # Autocomplete path stuffs: def complete_path(text, state): @@ -61,6 +61,6 @@ try: with open(file_path, "a") as file: file.write(tm + '\n') - time.sleep(.2) + time.sleep(msg_delay) except KeyboardInterrupt: print("Ctrl-C hit; exiting...")