diff --git a/examples/wsgi/run_wsgi.py b/examples/wsgi/run_wsgi.py index 03f999f4f9c2a079acd2f154c922cf55d19a19d8..61ed3bb373504d7a6da4f4a798b6de98085d1a6a 100644 --- a/examples/wsgi/run_wsgi.py +++ b/examples/wsgi/run_wsgi.py @@ -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):