Fix mistakes

This commit is contained in:
2025-03-25 14:44:38 +00:00
parent 12b14da970
commit 3fe4659377

View File

@@ -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',