Path: small fix for Python 2 syntax

This commit is contained in:
vocx-fc
2020-01-23 22:25:50 -06:00
parent 65c4e1bd11
commit f320766f0e

View File

@@ -258,7 +258,7 @@ def export(objectslist, filename, argstring):
for line in POSTAMBLE.splitlines(True):
gcode += linenumber() + line
print(f'show editor: {SHOW_EDITOR}')
print('show editor: {}'.format(SHOW_EDITOR))
if FreeCAD.GuiUp and SHOW_EDITOR:
dia = PostUtils.GCodeEditorDialog()
dia.editor.setText(gcode)