From 0c0e8c6b89dccce86ac6b7247449bbe9ab6321e1 Mon Sep 17 00:00:00 2001 From: Evelyn Date: Thu, 20 Dec 2018 23:53:40 +0000 Subject: [PATCH] NR: list only called/total full count for service --- modules/nr.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/nr.py b/modules/nr.py index b6780add..821fc6b1 100644 --- a/modules/nr.py +++ b/modules/nr.py @@ -487,10 +487,9 @@ class Module(ModuleManager.BaseModule): "\n".join([s["summary_external"] for s in stations_filtered]) )) else: - event["stdout"].write("%s%s %s %s (%s/%s/%s): %s" % (disruptions, query["operatorCode"], + event["stdout"].write("%s%s %s %s (%s/%s): %s" % (disruptions, query["operatorCode"], query["trainid"], query["serviceType"], - utils.irc.color(done_count, utils.consts.LIGHTBLUE), - len(stations_filtered), total_count, + done_count, total_count, ", ".join([s["summary"] for s in stations_filtered]))) @utils.hook("received.command.nrhead", min_args=1)