Path: small fix for Python 2 syntax

This commit is contained in:
vocx-fc
2020-01-23 22:25:50 -06:00
parent 7255b2bec0
commit 2e0651da40

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)