From 27a4eb55f53702aa195179e3709b17927639c140 Mon Sep 17 00:00:00 2001 From: Liam Steckler Date: Tue, 13 Feb 2024 20:42:02 -0800 Subject: [PATCH] Fix classify_event_size function --- scl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scl.py b/scl.py index 80aadd4..0462b75 100644 --- a/scl.py +++ b/scl.py @@ -82,7 +82,7 @@ def classify_event_size(num_people: int) -> dict[str, str, bool]: "outage_color": "#F97316", "is_postable": False, } - elif event["numPeople"] < 1000: + elif num_people < 1000: return { "size": "Medium", "outage_color": "#EF4444",