From 28425202ce167137cc12cfcef726b57acd95b9dc Mon Sep 17 00:00:00 2001 From: Evelyn Date: Thu, 6 Apr 2017 11:25:12 +0100 Subject: [PATCH] NR: Show shorter TOC code instead of name in service info --- modules/nr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nr.py b/modules/nr.py index 30ab2317..ec6b6498 100644 --- a/modules/nr.py +++ b/modules/nr.py @@ -345,7 +345,7 @@ class Module(object): done_count = len([s for s in stations if s["called"]]) total_count = len(stations) - event["stdout"].write("%s%s %s %s (%s%s%s/%s/%s): %s" % (disruptions, query["operator"], + event["stdout"].write("%s%s %s %s (%s%s%s/%s/%s): %s" % (disruptions, query["operatorCode"], query["trainid"], query["serviceType"], Utils.color(Utils.COLOR_LIGHTBLUE), done_count, Utils.color(Utils.FONT_RESET), len(stations_filtered), total_count,