mirror of
https://github.com/django/daphne.git
synced 2024-11-21 15:36:33 +03:00
Linting and warning fixes
This commit is contained in:
parent
15e702f5e2
commit
f7e1f2112e
|
@ -1,4 +1,3 @@
|
|||
import datetime
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
@ -72,7 +71,9 @@ class AccessLogGenerator:
|
|||
"""
|
||||
|
||||
logger.info(
|
||||
f"{request} {details}",
|
||||
"%s %s",
|
||||
request,
|
||||
details,
|
||||
extra={
|
||||
"host": host,
|
||||
"request": request,
|
||||
|
|
Loading…
Reference in New Issue
Block a user