Use regular 'w' mode when writing text files for py3 compatibility.
This commit is contained in:
@@ -49,7 +49,7 @@ def export(objectslist, filename,argstring):
|
||||
print("the given object is not a path")
|
||||
gcode = obj.Path.toGCode()
|
||||
gcode = parse(gcode)
|
||||
gfile = pythonopen(filename, "wb")
|
||||
gfile = pythonopen(filename, "w")
|
||||
gfile.write(gcode)
|
||||
gfile.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user