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))