Skip to content

Commit

Permalink
Remove pragma on fd
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Oct 31, 2022
1 parent 87c8b62 commit d7c0fbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -82,7 +82,7 @@ plugins =

[coverage:report]
precision = 2
fail_under = 97.92
fail_under = 98.13
show_missing = true
skip_covered = true
exclude_lines =
Expand Down
2 changes: 1 addition & 1 deletion uvicorn/server.py
Expand Up @@ -174,7 +174,7 @@ def _share_socket(sock: socket.SocketType) -> socket.SocketType:
def _log_started_message(self, listeners: Sequence[socket.SocketType]) -> None:
config = self.config

if config.fd is not None: # pragma: py-win32
if config.fd is not None:
sock = listeners[0]
logger.info(
"Uvicorn running on socket %s (Press CTRL+C to quit)",
Expand Down

0 comments on commit d7c0fbb

Please sign in to comment.