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!")
|
logger.debug("Pinged!")
|
||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
logger.warning("Ping timed out.")
|
logger.warning("Ping timed out.")
|
||||||
await self._ws.close2()
|
await self._ws.close()
|
||||||
break
|
break
|
||||||
except (websockets.ConnectionClosed, ConnectionResetError):
|
except (websockets.ConnectionClosed, ConnectionResetError):
|
||||||
break
|
break
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue