Remove unused service list

This commit is contained in:
Evelyn 2016-12-20 08:57:56 +00:00
parent 18397bbe15
commit 7580516dff

View file

@ -16,7 +16,6 @@ class Module(object):
_name = "NR" _name = "NR"
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
self.result_map = {}
bot.events.on("received").on("command").on("nrtrains" bot.events.on("received").on("command").on("nrtrains"
).hook(self.arrivals, min_args=1, ).hook(self.arrivals, min_args=1,
help="Get train information for a station (Powered by NRE)", help="Get train information for a station (Powered by NRE)",
@ -107,8 +106,6 @@ class Module(object):
train_dest_plat.append((train["dest_name"] + train["via"], train["platform"])) train_dest_plat.append((train["dest_name"] + train["via"], train["platform"]))
trains_filtered.append(train) trains_filtered.append(train)
self.result_map[event["target"].id] = trains_filtered
trains_string = ", ".join(["%s (%s, %s, %s%s%s)" % (t["dest_via"], t["uid"], t["platform"], trains_string = ", ".join(["%s (%s, %s, %s%s%s)" % (t["dest_via"], t["uid"], t["platform"],
Utils.color(colours[t["status"]]), Utils.color(colours[t["status"]]),
t["time"], t["time"],