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 (