Lower timeout for a check we know should be quite fast

This commit is contained in:
Roy Nieterau 2024-03-07 00:50:34 +01:00
parent 4ecab1cd43
commit af92123777

View file

@ -190,7 +190,7 @@ def is_in_edit_mode():
[MemDelete, EditMode]
]
""").format(temp_file=temp_path)
execute_zscript_and_wait(in_edit_mode, temp_path)
execute_zscript_and_wait(in_edit_mode, temp_path, timeout=3)
with open(temp_path, "r") as mode:
content = str(mode.read())
bool_mode = content.rstrip('\x00')