Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and auxsvr committed Feb 8, 2023
1 parent fc51cf7 commit b0a679f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aiohttp/client_reqrep.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,9 @@ async def start(self, connection: "Connection") -> "ClientResponse":
client_logger.warning("Can not load response cookies: %s", exc)

# certificate
is_tls_transport = self._connection is not None and self._connection.transport is not None
is_tls_transport = (
self._connection is not None and self._connection.transport is not None
)
if is_tls_transport:
self.certificate = self._connection.transport.get_extra_info("peercert")
return self
Expand Down

0 comments on commit b0a679f

Please sign in to comment.