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...")