Update client/ayon_core/pipeline/workfile/workfile_template_builder.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Mustafa Zaky Jafar 2025-11-19 13:15:37 +02:00 committed by GitHub
parent 8ec74b80f4
commit 6125a7db80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -841,16 +841,18 @@ class AbstractTemplateBuilder(ABC):
task_name = self.current_task_name
task_type = self.current_task_type
folder_path = self.current_folder_path
folder_type = None
folder_entity = self.current_folder_entity
if folder_entity:
folder_type = folder_entity["folderType"]
filter_data = {
"task_types": task_type,
"task_names": task_name,
"folder_paths": folder_path
"folder_types": folder_type,
"folder_paths": folder_path,
}
folder_entity = self.current_folder_entity
if folder_entity:
filter_data.update({"folder_types": folder_entity["folderType"]})
build_profiles = self._get_build_profiles()
profile = filter_profiles(