From aa6529ab0cabb119e61113fb8cf0ff05a45ed91b Mon Sep 17 00:00:00 2001 From: Evelyn Date: Mon, 23 Oct 2017 18:41:00 +0100 Subject: [PATCH] NR: Use the same association descriptions for LDB and SCHEDULE --- modules/nr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nr.py b/modules/nr.py index e28aa707..9af8cb5c 100644 --- a/modules/nr.py +++ b/modules/nr.py @@ -413,7 +413,7 @@ class Module(object): } for assoc in station["associations"] or []: parsed["divide_summary"] += ", " if parsed["divide_summary"] else "" - parsed["divide_summary"] += {"NP": "Next service is %s at ", "JJ": "Joins %s at ", "VV": "Detaches as %s at "}[assoc["category"]] % assoc["uid_assoc"] + parsed["divide_summary"] += {"NP": "Next service is %s at ", "JJ": "Joining %s at ", "VV": "Dividing as %s at "}[assoc["category"]] % assoc["uid_assoc"] stations.append(parsed) [a for a in stations if a["called"] or a["first"]][-1]["last"] = True