From 3fe46593778820cbbc35097d3151a7c4df0cf8ab Mon Sep 17 00:00:00 2001 From: Jake Charman Date: Tue, 25 Mar 2025 14:44:38 +0000 Subject: [PATCH] Fix mistakes --- src/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.py b/src/index.py index ced78a9..9e3d781 100755 --- a/src/index.py +++ b/src/index.py @@ -75,7 +75,7 @@ def error(code) -> str: if not code.isdigit(): code=400 - elif code not in error_definitions: + elif int(code) not in error_definitions: return Response(status=code) return render_template('error.html',