Normalize size to match other properties

This commit is contained in:
Liam Steckler 2025-07-10 16:38:28 -07:00
parent 29750850d1
commit c52f6699c6

4
scl.py
View file

@ -401,8 +401,8 @@ with Session(engine) as session:
previous_event_class = classify_event_size(existing_record.num_people)
if event_class["size"] != previous_event_class["size"]:
updated_properties.append("outage size")
updated_entries.append("Outage Size: {}".format(event_class["size"]))
updated_properties.append("size")
updated_entries.append("Size: {}".format(event_class["size"]))
if status != existing_record.status:
existing_record.status = status
updated_properties.append("status")