From 328db4a6da4dcdd063cc655eb8670fb412452c43 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 30 Sep 2022 15:23:00 +0100 Subject: [PATCH] Reformat --- monolith.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/monolith.py b/monolith.py index b80cd90..e391b50 100644 --- a/monolith.py +++ b/monolith.py @@ -1,9 +1,9 @@ import asyncio import sys -import uvloop - from os import getenv +import uvloop + import util from sources.ch4 import Chan4 from sources.dis import DiscordClient @@ -31,6 +31,7 @@ async def main(loop): ingest = Ingest() loop.create_task(ingest.run()) + loop = asyncio.get_event_loop() loop.create_task(main(loop))