Adjust favicon 404 route for type hints

This commit is contained in:
Edward Betts 2023-11-25 19:58:24 +00:00
parent 99db7df7f1
commit be4db13179

View file

@ -355,8 +355,9 @@ def api_valid_hit() -> werkzeug.wrappers.response.Response:
@app.route("/favicon.ico")
def favicon() -> None:
flask.abort(404)
def favicon() -> Response:
"""No favicon."""
return flask.Response(status=404)
if __name__ == "__main__":