This commit is contained in:
Mark Veidemanis 2022-09-30 15:23:00 +01:00
parent 2dd2360b4f
commit 6b549dee6a
1 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,9 @@
import asyncio import asyncio
import sys import sys
import uvloop
from os import getenv from os import getenv
import uvloop
import util import util
from sources.ch4 import Chan4 from sources.ch4 import Chan4
from sources.dis import DiscordClient from sources.dis import DiscordClient
@ -31,6 +31,7 @@ async def main(loop):
ingest = Ingest() ingest = Ingest()
loop.create_task(ingest.run()) loop.create_task(ingest.run())
loop = asyncio.get_event_loop() loop = asyncio.get_event_loop()
loop.create_task(main(loop)) loop.create_task(main(loop))