Skip to content

Commit 33d2d10

Browse files
committed
suppress file output statemetn if no file is output
1 parent 4e2e679 commit 33d2d10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

phy2html.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ def create_html_tree(inname: str, outname: str, col_width: str = "40px", row_hei
215215
if outname != "": # if output file name is provided, write to file
216216
with open(outname, "w") as outfile:
217217
outfile.writelines(outlist)
218-
if verbose:
219-
print("HTML file created: " + outname)
218+
if verbose:
219+
print("HTML file created: " + outname)
220220
return outlist
221221

222222

0 commit comments

Comments
 (0)