NR: Use station_summary for service listing
This commit is contained in:
parent
e175567537
commit
ad8bde0232
1 changed files with 4 additions and 8 deletions
|
@ -212,11 +212,7 @@ class Module(object):
|
|||
Utils.color(Utils.FONT_RESET)
|
||||
) for t in trains_filtered])
|
||||
|
||||
event["stdout"].write("%s (%s, %s%s)%s: %s" % (query["locationName"], query["crs"],
|
||||
query["stationManagerCode"],
|
||||
", %s%s severe messages%s" % (Utils.color(Utils.COLOR_RED), nrcc_severe, Utils.color(Utils.FONT_RESET)) if nrcc_severe else "",
|
||||
" departures calling at %s" % filter["inter"] if filter["inter"] else '',
|
||||
trains_string))
|
||||
event["stdout"].write("%s%s: %s" % (station_summary, " departures calling at %s" % filter["inter"] if filter["inter"] else '', trains_string))
|
||||
|
||||
def service(self, event):
|
||||
client = self.client
|
||||
|
|
Loading…
Reference in a new issue