diff options
Diffstat (limited to 'ogcp')
-rw-r--r-- | ogcp/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/views.py b/ogcp/views.py index b326a8c..4086a10 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -20,8 +20,8 @@ def page_not_found(error): return render_template('error.html', message=error), 404 @app.errorhandler(500) -def page_not_found(error): - return render_template('error.html', message=error), 404 +def server_error(error): + return render_template('error.html', message=error), 500 @app.route('/') def index(): |