fix string formatting

This commit is contained in:
sliptonic
2021-02-23 18:59:04 -06:00
parent 5ab70fd1b6
commit 5c984dff6a

View File

@@ -70,7 +70,7 @@ def toolDepthAndOffset(width, extraDepth, tool, printInfo):
else:
toolOffset = 0.0
if printInfo and not suppressInfo:
FreeCAD.Console.PrintMessage(translate('PathDeburr', "The selected tool has no FlatRadius and no TipDiameter property. Assuming {}\n").format("Endmill" if angle == 180 else "V-Bit"))
FreeCAD.Console.PrintMessage(translate('PathDeburr', "The selected tool has no FlatRadius and no TipDiameter property. Assuming {}\n".format("Endmill" if angle == 180 else "V-Bit")))
suppressInfo = True
else:
angle = 180