forked from andrius/neohubapi
Fix typo
This commit is contained in:
parent
92df4f9722
commit
879e43789d
|
@ -47,7 +47,7 @@ class NeoHub:
|
||||||
'You must provide a token for a connection on port 4243, or use a legacy connection on port 4242')
|
'You must provide a token for a connection on port 4243, or use a legacy connection on port 4242')
|
||||||
if port == 4242 and token is not None:
|
if port == 4242 and token is not None:
|
||||||
raise NeoHubConnectionError(
|
raise NeoHubConnectionError(
|
||||||
'You have provied a token, so you must use port=4243')
|
'You have provided a token, so you must use port=4243')
|
||||||
self._websocket = None
|
self._websocket = None
|
||||||
|
|
||||||
async def _send_message(self, reader: asyncio.StreamReader, writer: asyncio.StreamWriter, message: str):
|
async def _send_message(self, reader: asyncio.StreamReader, writer: asyncio.StreamWriter, message: str):
|
||||||
|
|
Loading…
Reference in New Issue