Cleanup: use str.format to format strings in Python
Also replace redundant `{!s}` with `{:s}`.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user