Fix stuff

This commit is contained in:
AuroraWright
2024-01-26 02:58:15 +01:00
parent 8b1d1bb10a
commit e61820ffff
2 changed files with 6 additions and 6 deletions

View File

@@ -136,7 +136,7 @@ def user_input_thread_run(engine_instances, engine_keys, engine_color):
engine_index = 0
else:
engine_index += 1
elif user_input.lower() in engine_keys:
elif user_input.lower() != '' and user_input.lower() in engine_keys:
engine_index = engine_keys.index(user_input.lower())
if engine_index != old_engine_index: