From 7cff64643e4b0e7a85a818d50030da60d7c8ca48 Mon Sep 17 00:00:00 2001 From: Sabin Iacob Date: Sat, 16 Mar 2019 20:07:57 +0200 Subject: [PATCH] Path: fix grbl_post preamble parameter handling --- src/Mod/Path/PathScripts/post/grbl_post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/post/grbl_post.py b/src/Mod/Path/PathScripts/post/grbl_post.py index 28906fbdc4..bb932f7fe0 100644 --- a/src/Mod/Path/PathScripts/post/grbl_post.py +++ b/src/Mod/Path/PathScripts/post/grbl_post.py @@ -135,7 +135,7 @@ def processArguments(argstring): print("Show editor = %d" % SHOW_EDITOR) PRECISION = args.precision if not args.preamble is None: - PREAMBLE = args.preamble + PREAMBLE = args.preamble.replace('\\n', '\n') if not args.postamble is None: POSTAMBLE = args.postamble.replace('\\n', '\n') if not args.tool_change is None: