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

@@ -95,7 +95,7 @@ def export(obj,filename,argstring):
gcode+= lineout(c, oldvals, modal)+'\n'
oldvals = saveVals(c)
gcode+='M2\n'
gfile = open(filename,"wb")
gfile = open(filename,"w")
gfile.write(gcode)
gfile.close()
else: