NR: Use the actual name field

This commit is contained in:
Evelyn 2017-08-31 19:39:04 +01:00
parent 0822d323bc
commit d3d2be44cb

View file

@ -368,7 +368,7 @@ class Module(object):
Utils.color(Utils.FONT_RESET)
)
else:
parsed = {"name": station["name"].title(),
parsed = {"name": (station["long_name"] or "none").title(),
"crs": station["crs"] if station["crs"] else station["tiploc_code"],
"called": False,
"passing": station.get("pass", None),