Fix typo
This commit is contained in:
parent
2e7b364307
commit
023d154d37
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class Connection:
|
|||
logger.debug("Pinged!")
|
||||
except asyncio.TimeoutError:
|
||||
logger.warning("Ping timed out.")
|
||||
await self._ws.close2()
|
||||
await self._ws.close()
|
||||
break
|
||||
except (websockets.ConnectionClosed, ConnectionResetError):
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue