Skip to content

Commit

Permalink
Merge 7c7724c into c087ca5
Browse files Browse the repository at this point in the history
  • Loading branch information
nickw444 committed Feb 26, 2019
2 parents c087ca5 + 7c7724c commit 1879c0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nessclient/client.py
Expand Up @@ -95,7 +95,9 @@ async def send_command(self, command: str) -> None:
timestamp=None,
)
await self._connect()
return await self._connection.write(packet.encode().encode('ascii'))
payload = packet.encode() + '\r\n'
_LOGGER.debug('Sending payload: %s', repr(payload))
return await self._connection.write(payload.encode('ascii'))

async def _recv_loop(self) -> None:
while not self._closed:
Expand Down

0 comments on commit 1879c0e

Please sign in to comment.