Fix log_ring_worker
This commit is contained in:
parent
aabc6d142f
commit
0ef940e065
|
@ -22,6 +22,7 @@ async def main():
|
||||||
text = log_ring.popleft()
|
text = log_ring.popleft()
|
||||||
except IndexError:
|
except IndexError:
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
await slave.send_message(config['config']['log_chat'], text, disable_web_page_preview=True)
|
await slave.send_message(config['config']['log_chat'], text, disable_web_page_preview=True)
|
||||||
|
|
Loading…
Reference in New Issue