From ba9f5107cee444c6eacc8e909c0dfcee6d7b1ad8 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sat, 22 Jul 2023 23:46:49 -0400 Subject: [PATCH] Added missing semicolon --- bots/tailbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/tailbot.py b/bots/tailbot.py index 88b02ac..0746431 100644 --- a/bots/tailbot.py +++ b/bots/tailbot.py @@ -65,7 +65,7 @@ class Bot(): await self.sendmsg(chan, '[{0}] {1} {2}'.format(color('ERROR', red), msg, color(f'({reason})', grey))) if reason else await self.sendmsg(chan, '[{0}] {1}'.format(color('ERROR', red), msg)) async def loop_tail(self): - if not os.path.exists(FIFO_PATH) + if not os.path.exists(FIFO_PATH): os.mkfifo(FIFO_PATH) while True: with open(FIFO_PATH) as fifo: