From de93777f99b4d324a64fef08dd89f4c44a9e7a1f Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Sat, 24 May 2025 01:14:57 +0200 Subject: [PATCH] Fix comparison to string --- gui/builtinStatsViews/bombingViewFull.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/builtinStatsViews/bombingViewFull.py b/gui/builtinStatsViews/bombingViewFull.py index e938a8af4..482ca4067 100644 --- a/gui/builtinStatsViews/bombingViewFull.py +++ b/gui/builtinStatsViews/bombingViewFull.py @@ -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: