Skip to content

Commit de93777

Browse files
committed
Fix comparison to string
1 parent f23d1e4 commit de93777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/builtinStatsViews/bombingViewFull.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def refreshPanel(self, fit):
150150
bomb.attributes['signatureRadius'].value)
151151
label = getattr(self, "labelDamagetypeCovertlevel%s%s" % (damageType.capitalize(), covertLevel))
152152
label.SetLabel("{:.1f}".format(math.ceil((ehp / appliedBombDamage) * 10) / 10))
153-
if covertLevel is not "0":
153+
if covertLevel != "0":
154154
label.SetToolTip("Number of %s to kill a %s using a %s "
155155
"with Covert Ops level %s" % (bomb.customName, fit.name, bomber, covertLevel))
156156
else:

0 commit comments

Comments
 (0)