1
mirror of git://git.acid.vegas/archive.git synced 2024-11-24 17:16:39 +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:
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: