mirror of
git://git.acid.vegas/archive.git
synced 2024-11-15 04:36:53 +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:
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user