diff options
| author | 2016-07-14 00:31:44 +0100 | |
|---|---|---|
| committer | 2016-07-14 00:31:44 +0100 | |
| commit | 5f8d51cbf0c2ec857b263a971e63bd8d3744201c (patch) | |
| tree | f54888764390c0368e491c591c2f4d9b65ad2c34 /modules/tfl.py | |
| parent | added logs.py and changed EventHook objects to know their name. (diff) | |
fixed duplicate response
Diffstat (limited to 'modules/tfl.py')
| -rw-r--r-- | modules/tfl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/tfl.py b/modules/tfl.py index 967ef2b7..7572d1ba 100644 --- a/modules/tfl.py +++ b/modules/tfl.py @@ -139,4 +139,5 @@ class Module(object): print(stop) results = ["%s (%s): %s" % (stop["name"], ", ".join(stop["modes"]), stop["id"]) for stop in stop_search["matches"]] event["stdout"].write("; ".join(results)) - event["stderr"].write("Stop not found") + else: + event["stderr"].write("Stop not found") |
