Improve read method

This commit is contained in:
Kumi 2022-07-19 11:43:58 +02:00
parent 464f8ad2da
commit 3a98541524
Signed by: kumi
GPG key ID: 6C2B851B15DF1681

View file

@ -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):