This commit is contained in:
Jakub Jezek 2023-03-06 17:07:56 +01:00
parent b2eb14914b
commit af39368838
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
3 changed files with 6 additions and 8 deletions

View file

@ -461,8 +461,9 @@ class AbstractTemplateBuilder(object):
hosts to decide if they want to remove
placeholder after it is used.
create_first_version (bool): create first version of a workfile
workfile_creation_enabled (bool): If True, it might create first version
but ignore process if version is created
workfile_creation_enabled (bool): If True, it might create
first version but ignore
process if version is created
"""
template_preset = self.get_template_preset()
@ -478,7 +479,8 @@ class AbstractTemplateBuilder(object):
# check if first version is created
created_version_workfile = self.create_first_workfile_version()
# if first version is created, import template and populate placeholders
# if first version is created, import template
# and populate placeholders
if (
create_first_version
and workfile_creation_enabled