fix conflict

This commit is contained in:
L1ghtn1ng 2020-12-15 23:05:25 +00:00
commit 23bbee570a

View file

@ -19,8 +19,10 @@
multiprocessing.freeze_support()
asyncio.DefaultEventLoopPolicy = asyncio.WindowsSelectorEventLoopPolicy
else:
import uvloop
uvloop.install()
if python_version()[0:3] < '3.9':
import uvloop
uvloop.install()
if "linux" in platform:
import aiomultiprocess
# As we are not using Windows we can change the spawn method to fork for greater performance