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 ab9659eefb
commit 30d2e29e0c
23 changed files with 49 additions and 54 deletions

View File

@@ -486,7 +486,7 @@ class PathSimulation:
def InvalidOperation(self):
if len(self.activeOps) == 0:
return True
if (self.tool == None):
if (self.tool is None):
TSError("No tool assigned for the operation")
return True
return False