Skip to content

Commit 29a439e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6e9e13f commit 29a439e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

aiohttp/web_ws.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,9 @@ def _pong_not_received(self) -> None:
189189
"""Callback for when no PONG was received after self._pong_heartbeat seconds"""
190190
if self._req is not None and self._req.transport is not None:
191191
loop = self._loop
192-
if loop is not None and not self._waiting: # If self._waiting is set we already are in the receive loop and would have read the PONG if one was there
192+
if (
193+
loop is not None and not self._waiting
194+
): # If self._waiting is set we already are in the receive loop and would have read the PONG if one was there
193195
pong_not_received_task = loop.create_task(
194196
self._pong_not_received_coro()
195197
)

0 commit comments

Comments
 (0)