Commit 5550deda authored by Sean Fitzgibbon's avatar Sean Fitzgibbon
Browse files

Add extension to outname if required

parent ff65be41
......@@ -38,6 +38,9 @@ def report_reg(dirs, out, embed=False):
images=images,
)
if not out.endswith('.html'):
out = out + '.html'
with open(out, "w") as outfile:
outfile.write(html)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment