diff --git a/src/download.py b/src/download.py index 7a8c8af..b4ccc31 100644 --- a/src/download.py +++ b/src/download.py @@ -157,10 +157,13 @@ def as_feature(self, item: dict[str, Any]) -> Feature | None: frequency = next( (f for f in item["frequencies"] if f["primary"]), item["frequencies"][0] ) + description = frequency.get("name") + if description is not None: + description = description.title() radio = { "radio_frequency": frequency["value"], "radio_type": FrequencyKind(int(frequency["type"])).name, - "radio_description": frequency.get("name"), + "radio_description": description, } rwy = {}