Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2998 from pypeclub/bugfix/extra_dot_in_new_workfile
Browse files Browse the repository at this point in the history
Fix - remove doubled dot in workfile created from template
  • Loading branch information
kalisp authored Apr 1, 2022
2 parents 5fc3c9f + 77b7b4b commit b5ef76d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openpype/lib/avalon_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -1965,6 +1965,7 @@ def get_last_workfile(
data.pop("comment", None)
if not data.get("ext"):
data["ext"] = extensions[0]
data["ext"] = data["ext"].replace('.', '')
filename = StringTemplate.format_strict_template(file_template, data)

if full_path:
Expand Down

0 comments on commit b5ef76d

Please sign in to comment.