mirror of
git://git.acid.vegas/archive.git
synced 2024-12-27 09:06:40 +00:00
Fixed again (acidvegas is a skid)
This commit is contained in:
parent
faf46ae99d
commit
142de532c3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user