From de8a04ed0e1438c3fb36db95056f0aa08bbb94bb Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Thu, 17 Dec 2020 22:13:40 -0600 Subject: [PATCH] Path: LGTM and spelling correction --- src/Mod/Path/PathScripts/PathSlot.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathSlot.py b/src/Mod/Path/PathScripts/PathSlot.py index 4795b9b1d1..a63212d007 100644 --- a/src/Mod/Path/PathScripts/PathSlot.py +++ b/src/Mod/Path/PathScripts/PathSlot.py @@ -41,9 +41,8 @@ import math from lazy_loader.lazy_loader import LazyLoader Part = LazyLoader('Part', globals(), 'Part') Arcs = LazyLoader('draftgeoutils.arcs', globals(), 'draftgeoutils.arcs') - if FreeCAD.GuiUp: - import FreeCADGui + FreeCADGui = LazyLoader('FreeCADGui', globals(), 'FreeCADGui') # Qt translation handling @@ -597,7 +596,7 @@ class ObjectSlot(PathOp.ObjectOp): return CMDS def _finishLine(self, obj, pnts, featureCnt): - """This method finishes an Line Slot operation.""" + """This method finishes a Line Slot operation.""" # Apply perpendicular rotation if requested perpZero = True if obj.PathOrientation == 'Perpendicular':