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",