Arch: use string operator instead of numeric LGTM fix

This commit is contained in:
luz.paz
2019-10-22 10:29:54 -04:00
committed by Yorik van Havre
parent 95af9ed202
commit 5c1cae14b9
9 changed files with 11 additions and 11 deletions

View File

@@ -196,7 +196,7 @@ class CommandPanel:
"this function is called by the snapper when it has a 3D point"
self.tracker.finalize()
if point == None:
if point is None:
return
FreeCAD.ActiveDocument.openTransaction(translate("Arch","Create Panel"))
FreeCADGui.addModule("Arch")