Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Mar 15, 2022
1 parent 2a616bf commit 912a9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_server/log.py
Expand Up @@ -52,7 +52,7 @@ def log_request(handler):
if status >= 500 and status != 502:
# Log a subset of the headers if it caused an error.
headers = {}
for header in ['Host', 'Accept', 'Referer', 'User-Agent']:
for header in ["Host", "Accept", "Referer", "User-Agent"]:
if header in request.headers:
headers[header] = request.headers[header]
log_method(json.dumps(headers, indent=2))
Expand Down

0 comments on commit 912a9b6

Please sign in to comment.