From b560bb356ed8fb3f687fddbec9628042a48f54f5 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Thu, 28 Aug 2025 12:19:56 +0200 Subject: [PATCH] fix host name checks --- client/ayon_core/plugins/loader/delivery.py | 2 +- client/ayon_core/plugins/loader/export_otio.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/ayon_core/plugins/loader/delivery.py b/client/ayon_core/plugins/loader/delivery.py index 3b39f2d3f6..d1fbb20afc 100644 --- a/client/ayon_core/plugins/loader/delivery.py +++ b/client/ayon_core/plugins/loader/delivery.py @@ -33,7 +33,7 @@ class DeliveryAction(LoaderActionPlugin): def get_action_items( self, selection: LoaderActionSelection ) -> list[LoaderActionItem]: - if self.host_name is None: + if self.host_name is not None: return [] version_ids = set() diff --git a/client/ayon_core/plugins/loader/export_otio.py b/client/ayon_core/plugins/loader/export_otio.py index b23021fc11..8a142afdb5 100644 --- a/client/ayon_core/plugins/loader/export_otio.py +++ b/client/ayon_core/plugins/loader/export_otio.py @@ -44,7 +44,7 @@ class ExportOTIO(LoaderActionPlugin): self, selection: LoaderActionSelection ) -> list[LoaderActionItem]: # Don't show in hosts - if self.host_name is None: + if self.host_name is not None: return [] version_ids = set()