NR: Eagle now provides a best name via the combined TIPLOC set as 'name', use that

This commit is contained in:
Evelyn 2017-09-01 10:07:21 +01:00
parent d3d2be44cb
commit f00f1bda94

View file

@ -368,7 +368,7 @@ class Module(object):
Utils.color(Utils.FONT_RESET) Utils.color(Utils.FONT_RESET)
) )
else: else:
parsed = {"name": (station["long_name"] or "none").title(), parsed = {"name": (station["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),