1
mirror of git://git.acid.vegas/archive.git synced 2024-11-14 20:26:41 +00:00

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

View File

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