From af9212377766e4447314a2d39b8c363ffdc61160 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Thu, 7 Mar 2024 00:50:34 +0100 Subject: [PATCH] Lower timeout for a check we know should be quite fast --- client/ayon_core/hosts/zbrush/api/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_core/hosts/zbrush/api/lib.py b/client/ayon_core/hosts/zbrush/api/lib.py index c89fc9e4e7..e11b6ffc25 100644 --- a/client/ayon_core/hosts/zbrush/api/lib.py +++ b/client/ayon_core/hosts/zbrush/api/lib.py @@ -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')