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

@@ -271,10 +271,10 @@ class _CommandStructure:
"this function is called by the snapper when it has a 3D point"
self.bmode = self.modeb.isChecked()
if point == None:
if point is None:
self.tracker.finalize()
return
if self.bmode and (self.bpoint == None):
if self.bmode and (self.bpoint is None):
self.bpoint = point
FreeCADGui.Snapper.getPoint(last=point,callback=self.getPoint,movecallback=self.update,extradlg=[self.taskbox(),self.precast.form,self.dents.form],title=translate("Arch","Next point")+":",mode="line")
return