Linting and warning fixes

This commit is contained in:
Mark Bidewell 2023-04-23 21:40:08 -04:00
parent 15e702f5e2
commit f7e1f2112e

View File

@ -1,4 +1,3 @@
import datetime
import logging import logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@ -72,7 +71,9 @@ class AccessLogGenerator:
""" """
logger.info( logger.info(
f"{request} {details}", "%s %s",
request,
details,
extra={ extra={
"host": host, "host": host,
"request": request, "request": request,