mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 14:22:37 +01:00
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:
parent
ab408bd177
commit
75dbba65bf
1 changed files with 8 additions and 3 deletions
|
|
@ -498,9 +498,14 @@ class AbstractTemplateBuilder(object):
|
|||
process if version is created
|
||||
|
||||
"""
|
||||
if any(value is None for value in [template_path,
|
||||
keep_placeholders,
|
||||
create_first_version]):
|
||||
if any(
|
||||
value is None
|
||||
for value in [
|
||||
template_path,
|
||||
keep_placeholders,
|
||||
create_first_version,
|
||||
]
|
||||
):
|
||||
template_preset = self.get_template_preset()
|
||||
if template_path is None:
|
||||
template_path = template_preset["path"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue