fix flake8 E711 (comparison-to-none)

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:44 +00:00
parent eba7319808
commit 86e8a3a315
9 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class PaymentStatus(NamedTuple):
return "settled"
elif self.paid is False:
return "failed"
elif self.paid == None:
elif self.paid is None:
return "still pending"
else:
return "unknown (should never happen)"