From b38da0afa0f6f3f74372b95b79bb304f77d33c69 Mon Sep 17 00:00:00 2001 From: Sabin Iacob Date: Sat, 16 Mar 2019 19:57:28 +0200 Subject: [PATCH] Path: fix grbl_post postamble 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 ddb3955cf5..28906fbdc4 100644 --- a/src/Mod/Path/PathScripts/post/grbl_post.py +++ b/src/Mod/Path/PathScripts/post/grbl_post.py @@ -137,7 +137,7 @@ def processArguments(argstring): if not args.preamble is None: PREAMBLE = args.preamble if not args.postamble is None: - POSTAMBLE = args.postamble + POSTAMBLE = args.postamble.replace('\\n', '\n') if not args.tool_change is None: OUTPUT_TOOL_CHANGE = int(args.tool_change) > 0 SUPPRESS_TOOL_CHANGE = min(1, int(args.tool_change) - 1)