aboutsummaryrefslogtreecommitdiff
path: root/modules/tfl.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tfl.py')
-rw-r--r--modules/tfl.py3
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")