a redeeming feature
Some positive, favorable, or beneficial trait or aspect of someone or something that offsets or makes up for other negative traits. The one redeeming feature of my long commute to work is that I get the chance to read plenty of books. He has a lot of faults, but his loyalty is his most redeeming feature. This movie is a total failure on every level, with no redeeming features to speak of.