aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Evelyn2017-09-01 10:07:21 +0100
committerGravatar Evelyn2017-09-01 10:07:21 +0100
commitf00f1bda948ee91e87898a01a614bb1ad2460e22 (patch)
tree21a99f4fd3830025d3e93215c024a4e52c78e76c
parentNR: Use the actual name field (diff)
signature
NR: Eagle now provides a best name via the combined TIPLOC set as 'name', use that
-rw-r--r--modules/nr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nr.py b/modules/nr.py
index 16cca8ba..9f5344d3 100644
--- a/modules/nr.py
+++ b/modules/nr.py
@@ -368,7 +368,7 @@ class Module(object):
Utils.color(Utils.FONT_RESET)
)
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"],
"called": False,
"passing": station.get("pass", None),