NR: Use the actual name field
This commit is contained in:
parent
0822d323bc
commit
d3d2be44cb
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ class Module(object):
|
||||||
Utils.color(Utils.FONT_RESET)
|
Utils.color(Utils.FONT_RESET)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
parsed = {"name": station["name"].title(),
|
parsed = {"name": (station["long_name"] or "none").title(),
|
||||||
"crs": station["crs"] if station["crs"] else station["tiploc_code"],
|
"crs": station["crs"] if station["crs"] else station["tiploc_code"],
|
||||||
"called": False,
|
"called": False,
|
||||||
"passing": station.get("pass", None),
|
"passing": station.get("pass", None),
|
||||||
|
|
Loading…
Reference in a new issue