Skip to content

Commit 9d866d4

Browse files
committed
Add in info for #17
1 parent 1e4c461 commit 9d866d4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

vpype_gcode/gwrite.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ def gwrite(document: vp.Document, output: typing.TextIO, profile: str):
225225
output.write(document_end.format(filename=filename))
226226
output.flush()
227227
output.close()
228-
228+
info = config.get("info", None)
229+
if info:
230+
print(info)
229231
return orig_document
230232

231233

0 commit comments

Comments
 (0)