From 7c3e728d2149502e9957eef9581c71ed2d1c2e3c Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Wed, 4 Dec 2024 18:08:58 +0100 Subject: [PATCH] Fix skipping local instances --- .../plugins/publish/nuke/submit_nuke_deadline.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/ayon_deadline/plugins/publish/nuke/submit_nuke_deadline.py b/client/ayon_deadline/plugins/publish/nuke/submit_nuke_deadline.py index 72232d5885..7a57fb43e8 100644 --- a/client/ayon_deadline/plugins/publish/nuke/submit_nuke_deadline.py +++ b/client/ayon_deadline/plugins/publish/nuke/submit_nuke_deadline.py @@ -45,6 +45,10 @@ class NukeSubmitDeadline( def process(self, instance): """Plugin entry point.""" + if not instance.data.get("farm"): + self.log.debug("Should not be processed on farm, skipping.") + return + self._instance = instance context = instance.context