Merge pull request #13394 from bgbsww/bgbsww-CAMTestsLeaveFile
Have grbl_post not write - file just like other postprocessors
This commit is contained in:
@@ -405,9 +405,10 @@ def export(objectslist, filename, argstring):
|
||||
print("Done postprocessing.")
|
||||
|
||||
# write the file
|
||||
gfile = pythonopen(filename, "w")
|
||||
gfile.write(final)
|
||||
gfile.close()
|
||||
if not filename == "-":
|
||||
gfile = pythonopen(filename, "w")
|
||||
gfile.write(final)
|
||||
gfile.close()
|
||||
|
||||
return final
|
||||
|
||||
|
||||
Reference in New Issue
Block a user