mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Lower timeout for a check we know should be quite fast
This commit is contained in:
parent
4ecab1cd43
commit
af92123777
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue