This commit is contained in:
Mark Veidemanis 2022-09-30 15:23:00 +01:00
parent c5c834da82
commit 328db4a6da
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
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))