fix the right way

This commit is contained in:
Kenneth Kehl
2024-03-07 10:25:11 -08:00
parent b3966ae800
commit 2be3db10d9
2 changed files with 2 additions and 5 deletions

View File

@@ -280,10 +280,7 @@ def get_status_filters(service, message_type, statistics):
if stats.get("failure") is not None:
stats["failed"] = stats["failure"]
if stats.get("pending") is None:
stats["pending"] = 0
if stats.get("sending") is None:
stats["sending"] = 0
stats["pending"] = stats["requested"] - stats["delivered"] - stats["failed"]
filters = [
# key, label, option