NR: list only called/total full count for service

This commit is contained in:
Evelyn 2018-12-20 23:53:40 +00:00
parent aaca9dc4a6
commit 0c0e8c6b89

View file

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