Fixed again (acidvegas is a skid)

This commit is contained in:
Dionysus 2023-07-25 14:59:51 -04:00
parent faf46ae99d
commit 142de532c3
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ class Bot():
async with aiofiles.open(FIFO_PATH) as fifo:
while True:
try:
for line in fifo:
await self.sendmsg(connection.channel, log_line)
for line in fifo.readlines():
await self.sendmsg(connection.channel, line.rstrip())
await asyncio.sleep(0.1)
except Exception as ex:
try: