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

Co-authored-by: Mustafa Jafar <mustafataherzaky@outlook.com>
This commit is contained in:
Roy Nieterau 2024-09-12 15:03:14 +02:00 committed by GitHub
parent 1450bcacd1
commit ab498dd7e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -844,10 +844,11 @@ class AbstractTemplateBuilder(ABC):
keep_placeholder = True
if not path:
self.log.info(
"Template path is not set."
)
return
raise TemplateLoadFailed((
"Template path is not set.\n"
"Path need to be set in {}\\Template Workfile Build "
"Settings\\Profiles"
).format(host_name.title()))
# Try to fill path with environments and anatomy roots
anatomy = Anatomy(project_name)