Make variable
This commit is contained in:
@ -7,7 +7,7 @@ from datetime import datetime
|
|||||||
# Changable optonis:
|
# Changable optonis:
|
||||||
message = "Testing testing testing..."
|
message = "Testing testing testing..."
|
||||||
max_iterations = 5
|
max_iterations = 5
|
||||||
|
msg_delay = 0.2
|
||||||
|
|
||||||
# Autocomplete path stuffs:
|
# Autocomplete path stuffs:
|
||||||
def complete_path(text, state):
|
def complete_path(text, state):
|
||||||
@ -61,6 +61,6 @@ try:
|
|||||||
with open(file_path, "a") as file:
|
with open(file_path, "a") as file:
|
||||||
file.write(tm + '\n')
|
file.write(tm + '\n')
|
||||||
|
|
||||||
time.sleep(.2)
|
time.sleep(msg_delay)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print("Ctrl-C hit; exiting...")
|
print("Ctrl-C hit; exiting...")
|
||||||
|
Reference in New Issue
Block a user