mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix last workfile
This commit is contained in:
parent
65bc619bcb
commit
32bf6cb3e0
1 changed files with 3 additions and 1 deletions
|
|
@ -1893,7 +1893,9 @@ def get_last_workfile_with_version(
|
|||
# Replace `{version}` with group regex
|
||||
file_template = re.sub(r"{version.*?}", r"([0-9]+)", file_template)
|
||||
file_template = re.sub(r"{comment.*?}", r".+?", file_template)
|
||||
filename = StringTemplate.format_strict_template(file_template, fill_data)
|
||||
file_template = StringTemplate.format_strict_template(
|
||||
file_template, fill_data
|
||||
)
|
||||
|
||||
# Match with ignore case on Windows due to the Windows
|
||||
# OS not being case-sensitive. This avoids later running
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue