Skip to content

Commit

Permalink
Merge pull request #2932 from vocx-fc/path_python_syntax
Browse files Browse the repository at this point in the history
Path: small fix for Python 2 syntax
  • Loading branch information
sliptonic committed Jan 24, 2020
2 parents 91f91f4 + f320766 commit e434d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Path/PathScripts/post/dynapath_post.py
Expand Up @@ -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)
Expand Down

0 comments on commit e434d11

Please sign in to comment.