Fix comparison to string
This commit is contained in:
@@ -150,7 +150,7 @@ class BombingViewFull(StatsView):
|
||||
bomb.attributes['signatureRadius'].value)
|
||||
label = getattr(self, "labelDamagetypeCovertlevel%s%s" % (damageType.capitalize(), covertLevel))
|
||||
label.SetLabel("{:.1f}".format(math.ceil((ehp / appliedBombDamage) * 10) / 10))
|
||||
if covertLevel is not "0":
|
||||
if covertLevel != "0":
|
||||
label.SetToolTip("Number of %s to kill a %s using a %s "
|
||||
"with Covert Ops level %s" % (bomb.customName, fit.name, bomber, covertLevel))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user