LGTM: various fixes for using string operator instead of numeric

This commit is contained in:
luz.paz
2019-10-22 10:42:18 -04:00
committed by Yorik van Havre
parent e4c8890d52
commit 1bc33025d6
23 changed files with 49 additions and 54 deletions

View File

@@ -17,8 +17,8 @@ def proceed():
def compute():
QtGui.QApplication.setOverrideCursor(QtCore.Qt.WaitCursor)
if FreeCAD.ActiveDocument==None:
if FreeCAD.ActiveDocument is None:
FreeCAD.newDocument("Gear")
oldDocumentObjects=App.ActiveDocument.Objects