diff --git a/eos/effects/caldarishipewstrengthcb.py b/eos/effects/caldarishipewstrengthcb.py index 4a8dd9c52..a1e808484 100644 --- a/eos/effects/caldarishipewstrengthcb.py +++ b/eos/effects/caldarishipewstrengthcb.py @@ -7,9 +7,10 @@ type = "passive" def handler(fit, ship, context): for sensorType in ("Gravimetric", "Ladar", "Magnetometric", "Radar"): - fit.modules.filteredItemBoost( - (lambda mod: mod.item.group.name == "ECM" or - mod.item.group.name == "Burst Jammer" - ), - "scan{0}StrengthBonus".format(sensorType), - ship.getModifiedItemAttr("shipBonusCB"), skill="Caldari Battleship") + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in + ( + "ECM", + "Burst Jammer", + ), + "scan{0}StrengthBonus".format(sensorType), + ship.getModifiedItemAttr("shipBonusCB"), skill="Caldari Battleship")