From e56d7d0935e97f3555ff8d524cabf7770b140e7d Mon Sep 17 00:00:00 2001 From: Kuzemko Alexsandr <1382812+Kuzma30@users.noreply.github.com> Date: Sun, 8 May 2022 11:45:51 +0300 Subject: [PATCH] Final fix of Path - message during startup (#43) [Path] Fix python style for initial message (now recognized by updatets.py script) --- src/Mod/Path/InitGui.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Mod/Path/InitGui.py b/src/Mod/Path/InitGui.py index 95dfead0be..43897fc787 100644 --- a/src/Mod/Path/InitGui.py +++ b/src/Mod/Path/InitGui.py @@ -269,10 +269,8 @@ class PathWorkbench(Workbench): msg = translate( "Path", - "The currently selected unit schema: \n '{}'\n Does not use 'minutes' for velocity values. \n \nCNC machines require feed rate to be expressed in \nunit/minute. To ensure correct gcode: \nSelect a minute-based schema in preferences.\nFor example:\n 'Metric, Small Parts & CNC'\n 'US Customary'\n 'Imperial Decimal'".format( - current_schema - ), - ) + "The currently selected unit schema: \n '{}'\n Does not use 'minutes' for velocity values. \n \nCNC machines require feed rate to be expressed in \nunit/minute. To ensure correct gcode: \nSelect a minute-based schema in preferences.\nFor example:\n 'Metric, Small Parts & CNC'\n 'US Customary'\n 'Imperial Decimal'" + ).format(current_schema) header = translate("Path", "Warning") msgbox = QtGui.QMessageBox(QtGui.QMessageBox.Warning, header, msg)