--- a/swtr.py +++ b/swtr.py @@ -47,7 +47,7 @@ return render_template('404.html'), 404 -@app.errohandler(500) +@app.errorhandler(500) def internal_error(e): return render_template('500.html'), 500