bug: wrong pending status (#2352)
This commit is contained in:
parent
7dcb2fcdd5
commit
7783f34998
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class PaymentStatus(NamedTuple):
|
|||
|
||||
@property
|
||||
def pending(self) -> bool:
|
||||
return self.paid is None
|
||||
return self.paid is not True
|
||||
|
||||
@property
|
||||
def failed(self) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue