NR: Show shorter TOC code instead of name in service info

This commit is contained in:
Evelyn 2017-04-06 11:25:12 +01:00
parent 70bd021187
commit 28425202ce

View file

@ -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,