Skip to content
Snippets Groups Projects
Commit 1317050f authored by Mike Bayer's avatar Mike Bayer
Browse files

dont need lookup for exception reporting

parent f53b5c1a
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,7 @@ def serve(environ, start_response):
return ["Cant find template '%s'" % uri]
except:
start_response("200 OK", [('Content-type','text/html')])
error_template = exceptions.html_error_template(lookup)
return [error_template.render()]
return [exceptions.html_error_template().render()]
def getfield(f):
if isinstance(f, list):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment