CAM: updated opensbp post to work with current Processor.py

This commit is contained in:
Lawrence Woestman
2025-05-11 15:39:49 -07:00
parent c2df7a83db
commit 7b882c394c

View File

@@ -181,9 +181,12 @@ def export(objectslist, filename, argstring):
print("done postprocessing.")
# Write the output
gfile = pyopen(filename, "w")
gfile.write(final)
gfile.close()
if not filename == "-":
gfile = pyopen(filename, "w")
gfile.write(final)
gfile.close()
return final
def move(command):