Skip to content

Commit ba05b3c

Browse files
committed
flush() stream.
1 parent 9657678 commit ba05b3c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="vpype-gcode",
9-
version="0.6.4",
9+
version="0.6.5",
1010
description="vpype gcode plugin",
1111
long_description=readme,
1212
long_description_content_type="text/markdown",

vpype_gcode/gwrite.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def gwrite(document: vp.Document, output: typing.TextIO, profile: str):
157157
output.write(layer_join)
158158
if document_end is not None:
159159
output.write(document_end.format(filename=filename))
160+
output.flush()
160161

161162
return document
162163

0 commit comments

Comments
 (0)