use new method name and fix issues with string conversions

This commit is contained in:
Jakub Trllo 2024-03-19 14:26:05 +01:00
parent eaf580bf3b
commit e5fe964178
27 changed files with 83 additions and 60 deletions

View file

@ -1862,9 +1862,9 @@ def _prepare_last_workfile(data, workdir, addons_manager):
project_settings=project_settings
)
# Find last workfile
file_template = str(
anatomy.get_template("work", template_key, "file")
)
file_template = anatomy.get_template_item(
"work", template_key, "file"
).template
workdir_data.update({
"version": 1,