fixed duplicate response
This commit is contained in:
parent
369b784a0d
commit
5f8d51cbf0
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue