Skip to content

Commit

Permalink
remove redundant transform list -> list (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergBobrovsky authored Dec 27, 2020
1 parent 28f5d2b commit c6b80fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvicorn/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def main(
"ssl_cert_reqs": ssl_cert_reqs,
"ssl_ca_certs": ssl_ca_certs,
"ssl_ciphers": ssl_ciphers,
"headers": list([header.split(":", 1) for header in headers]),
"headers": [header.split(":", 1) for header in headers],
"use_colors": use_colors,
"factory": factory,
}
Expand Down

0 comments on commit c6b80fc

Please sign in to comment.