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:
parent
cd9536f76a
commit
f6d2b35318
@ -11,7 +11,7 @@ PacketKind = NewType("PacketKind", str)
|
||||
|
||||
|
||||
class Trust(Enum):
|
||||
unknown = auto
|
||||
unknown = auto()
|
||||
revoked = auto()
|
||||
marginal = auto()
|
||||
full = auto()
|
||||
|
Loading…
Reference in New Issue
Block a user