Merge pull request #2998 from pypeclub/bugfix/extra_dot_in_new_workfile

Fix - remove doubled dot in workfile created from template
This commit is contained in:
Petr Kalis 2022-04-01 13:45:11 +02:00 committed by GitHub
commit b5ef76d845
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: