Skip to content

Commit

Permalink
set mimetype in Response not logger.info
Browse files Browse the repository at this point in the history
  • Loading branch information
ldruschk committed Apr 23, 2021
1 parent 66942a4 commit 30e0024
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setuptools.setup(
name="enochecker",
version="0.3.1",
version="0.3.2",
author="domenukk",
author_email="dmaier@sect.tu-berlin.de",
description="Library to build checker scripts for EnoEngine A/D CTF Framework in Python",
Expand Down
4 changes: 2 additions & 2 deletions src/enochecker/checkerservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ def index() -> Response:
:return: Flask resposne containing the HTML page with info about this service
"""
logger.info("Request on /", mimetype="text/html")
logger.info("Request on /")

return Response(INDEX_PAGE)
return Response(INDEX_PAGE, mimetype="text/html")

def serve_checker() -> Response:
"""
Expand Down

0 comments on commit 30e0024

Please sign in to comment.