From ec0327f44f1de63f00d539148c2b0849fbb9d7e7 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Thu, 30 May 2024 12:30:59 +0200 Subject: [PATCH] use new method in publish controller --- client/ayon_core/tools/publisher/control.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/ayon_core/tools/publisher/control.py b/client/ayon_core/tools/publisher/control.py index 08229ae7f4..acbd7683ad 100644 --- a/client/ayon_core/tools/publisher/control.py +++ b/client/ayon_core/tools/publisher/control.py @@ -1839,10 +1839,7 @@ class PublisherController(BasePublisherController): def _collect_creator_items(self): # TODO add crashed initialization of create plugins to report output = {} - task_type = None - current_task_entity = get_current_task_entity() - if current_task_entity: - task_type = current_task_entity["taskType"] + task_type = self._create_context.get_current_task_type() allowed_creator_identifiers = self._get_allowed_creator_identifiers( self.current_project_settings, self._create_context.host_name,