Improve read method
This commit is contained in:
parent
464f8ad2da
commit
3a98541524
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class ReportMonsterClient:
|
|||
return identification
|
||||
|
||||
async def read(self):
|
||||
content = await self._socket_reader.readuntil(b"> ")
|
||||
content = await self._socket_reader.readuntil(b"\n> ")
|
||||
return content.decode().rstrip().rstrip(">").rstrip()
|
||||
|
||||
async def write(self, message):
|
||||
|
|
Loading…
Reference in a new issue