Commit a9ec7fd5 authored by Pietro Albini's avatar Pietro Albini

Actually return a 404 from the not found page

parent 577ad303
......@@ -35,7 +35,7 @@ def create_app(data_path):
def not_found(error):
return flask.render_template("404.html")
return flask.render_template("404.html"), 404
return app
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment