mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #391 from ynput/bugfix/tvpaint-workfile-loader
TVPaint: Fix filename formatting in workflie load plugin
This commit is contained in:
commit
0e35560c3b
1 changed files with 1 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import os
|
||||
|
||||
from ayon_core.lib import StringTemplate
|
||||
from ayon_core.pipeline import (
|
||||
registered_host,
|
||||
get_current_context,
|
||||
|
|
@ -111,8 +110,6 @@ class LoadWorkfile(plugin.Loader):
|
|||
|
||||
data["version"] = version
|
||||
|
||||
filename = StringTemplate.format_strict_template(
|
||||
file_template, data
|
||||
)
|
||||
filename = work_template["file"].format_strict(data)
|
||||
path = os.path.join(work_root, filename)
|
||||
host.save_workfile(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue