masks-personality-quiz/interface/error_handlers.py

7 lines
203 B
Python

from flask import render_template, Blueprint, request
error_handler = Blueprint('error_handlers', __name__)
@error_handler.app_errorhandler(404)
def not_found(e):
return render_template("404.html")