From 69c76a600921c5503a5a132b4d60d9884c990d96 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Tue, 26 May 2026 16:55:20 +0200 Subject: [PATCH] handle 'workfile_path' key in launch hook --- .../launch_hooks/pre_copy_last_published_workfile.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/ayon_sitesync/launch_hooks/pre_copy_last_published_workfile.py b/client/ayon_sitesync/launch_hooks/pre_copy_last_published_workfile.py index cbbe0a2..c66d81c 100644 --- a/client/ayon_sitesync/launch_hooks/pre_copy_last_published_workfile.py +++ b/client/ayon_sitesync/launch_hooks/pre_copy_last_published_workfile.py @@ -44,6 +44,11 @@ def execute(self): Returns: None: This is a void method. """ + workfile_path = self.data.get("workfile_path") + if workfile_path: + self.log.debug("Explicit workfile path to open is defined.") + return + project_name = self.data["project_name"] sitesync_addon = self.addons_manager.get("sitesync") if (