Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 30e0024

Browse files
committed
set mimetype in Response not logger.info
1 parent 66942a4 commit 30e0024

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setuptools.setup(
1111
name="enochecker",
12-
version="0.3.1",
12+
version="0.3.2",
1313
author="domenukk",
1414
author_email="[email protected]",
1515
description="Library to build checker scripts for EnoEngine A/D CTF Framework in Python",

src/enochecker/checkerservice.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ def index() -> Response:
4949
5050
:return: Flask resposne containing the HTML page with info about this service
5151
"""
52-
logger.info("Request on /", mimetype="text/html")
52+
logger.info("Request on /")
5353

54-
return Response(INDEX_PAGE)
54+
return Response(INDEX_PAGE, mimetype="text/html")
5555

5656
def serve_checker() -> Response:
5757
"""

0 commit comments

Comments
 (0)