diff --git a/src/Mod/CAM/Path/Post/scripts/fanuc_post.py b/src/Mod/CAM/Path/Post/scripts/fanuc_post.py index 27363acb2a..02b921a2a0 100644 --- a/src/Mod/CAM/Path/Post/scripts/fanuc_post.py +++ b/src/Mod/CAM/Path/Post/scripts/fanuc_post.py @@ -230,9 +230,10 @@ def export(objectslist, filename, argstring): print("postprocessing...") gcode = "" + gcode += "%\n" + # write header if OUTPUT_HEADER: - gcode += "%\n" gcode += ";\n" gcode += ( os.path.split(filename)[-1]