From 533e957f80b4fae2fcd64d0c0631665af9d3e254 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Mon, 1 Dec 2025 05:23:53 +0100 Subject: [PATCH] CAM: Print "Show editor" status boolean as string, not integer This get rid of a Python style warning and make the output easier to understand. --- src/Mod/CAM/Path/Post/scripts/fanuc_post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/CAM/Path/Post/scripts/fanuc_post.py b/src/Mod/CAM/Path/Post/scripts/fanuc_post.py index f16c27af16..5670fc7a89 100644 --- a/src/Mod/CAM/Path/Post/scripts/fanuc_post.py +++ b/src/Mod/CAM/Path/Post/scripts/fanuc_post.py @@ -161,7 +161,7 @@ def processArguments(argstring): OUTPUT_LINE_NUMBERS = True if args.no_show_editor: SHOW_EDITOR = False - print("Show editor = %d" % SHOW_EDITOR) + print("Show editor = %s" % SHOW_EDITOR) PRECISION = args.precision if args.preamble is not None: PREAMBLE = args.preamble.replace("\\n", "\n")