From ea626e125769e91ab2afa6b5fe01dcddecf5159c Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Wed, 29 May 2024 12:13:10 +0200 Subject: [PATCH] Fix formatting Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> --- client/ayon_core/tools/publisher/control.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/ayon_core/tools/publisher/control.py b/client/ayon_core/tools/publisher/control.py index 7753804911..9ea1efecba 100644 --- a/client/ayon_core/tools/publisher/control.py +++ b/client/ayon_core/tools/publisher/control.py @@ -1839,8 +1839,10 @@ class PublisherController(BasePublisherController): ) for identifier, creator in self._create_context.creators.items(): try: - if (allowed_creator_identifiers and - identifier not in allowed_creator_identifiers): + if ( + allowed_creator_identifiers is not None + and identifier not in allowed_creator_identifiers + ): self.log.debug(f"{identifier} not allowed for context") continue output[identifier] = CreatorItem.from_creator(creator)