Skip to content

Commit

Permalink
suppress file output statemetn if no file is output
Browse files Browse the repository at this point in the history
  • Loading branch information
msrosenberg committed Apr 30, 2019
1 parent 4e2e679 commit 33d2d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phy2html.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ def create_html_tree(inname: str, outname: str, col_width: str = "40px", row_hei
if outname != "": # if output file name is provided, write to file
with open(outname, "w") as outfile:
outfile.writelines(outlist)
if verbose:
print("HTML file created: " + outname)
if verbose:
print("HTML file created: " + outname)
return outlist


Expand Down

0 comments on commit 33d2d10

Please sign in to comment.