Path: lgtm Cleanup

This commit is contained in:
brad
2019-06-08 18:55:44 -05:00
parent 266933473f
commit 8e372108b5
7 changed files with 169 additions and 144 deletions

View File

@@ -246,7 +246,7 @@ class CommandPathArray:
try:
obj = FreeCADGui.Selection.getSelectionEx()[0].Object
return isinstance(obj.Proxy, PathScripts.PathOp.ObjectOp)
except:
except(IndexError, AttributeError):
return False
def Activated(self):