Cleanup: use str.format to format strings in Python

Also replace redundant `{!s}` with `{:s}`.
This commit is contained in:
Campbell Barton
2025-08-12 10:21:38 +10:00
parent c00dfded27
commit 729b76f454
5 changed files with 11 additions and 11 deletions

View File

@@ -435,7 +435,7 @@ def main():
os.remove(Path_Blend)
# export dna to xhtml
log.info("6: export sdna to xhtml file: %r" % Path_HTML)
log.info("6: export sdna to xhtml file: {!r}".format(Path_HTML))
handleHTML = open(Path_HTML, "w")
catalog.WriteToHTML(handleHTML)
handleHTML.close()