Use regular 'w' mode when writing text files for py3 compatibility.

This commit is contained in:
markus
2019-01-28 16:00:00 -08:00
committed by Yorik van Havre
parent 98d77f8caa
commit 58e25d463e
14 changed files with 14 additions and 14 deletions

View File

@@ -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()