Fix issue with Trust Enum values

As `auto()` was not used for `Trust.unknown` it led to wrong data being
returned from `trust_color()`.
This commit is contained in:
David Runge
2023-05-29 13:04:35 +02:00
parent cd9536f76a
commit f6d2b35318

View File

@ -11,7 +11,7 @@ PacketKind = NewType("PacketKind", str)
class Trust(Enum):
unknown = auto
unknown = auto()
revoked = auto()
marginal = auto()
full = auto()