Merge pull request #2932 from vocx-fc/path_python_syntax

Path: small fix for Python 2 syntax
This commit is contained in:
sliptonic
2020-01-24 09:48:32 -06:00
committed by GitHub

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)