diff options
| author | 2016-12-20 08:57:56 +0000 | |
|---|---|---|
| committer | 2016-12-20 08:57:56 +0000 | |
| commit | 7580516dffcecdb8b0644a16fc48b22df5468691 (patch) | |
| tree | d9e1511c2be2be54af028eb52d8c5df0073c4340 | |
| parent | NR: Fix 'Cancelled' being shown in green, give departed trains a different co... (diff) | |
| signature | ||
Remove unused service list
| -rw-r--r-- | modules/nr.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/nr.py b/modules/nr.py index d0c6e294..e0d80c32 100644 --- a/modules/nr.py +++ b/modules/nr.py @@ -16,7 +16,6 @@ class Module(object): _name = "NR" def __init__(self, bot): self.bot = bot - self.result_map = {} bot.events.on("received").on("command").on("nrtrains" ).hook(self.arrivals, min_args=1, 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"])) 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"], Utils.color(colours[t["status"]]), t["time"], |
