Fix validation output

This commit is contained in:
Klaus-Uwe Mitterer 2017-09-23 15:08:34 +02:00
parent 7b3ad3cf34
commit fe7926d9bc

View file

@ -68,7 +68,6 @@ def application(env, re):
yield "<h1>500 Internal Server Error</h1>".encode()
if "debug" in args:
yield str(e).encode()
raise
return
re("200 OK", [])
@ -99,7 +98,8 @@ def application(env, re):
return
re("200 OK", [])
return output.encode()
yield output.encode()
return
elif rtype.lower() in ["closest", "close", "near", "nearby"]:
try: