fix compatibility with Python 3.8 on Windows
This commit is contained in:
parent
1e3f1b4d2b
commit
a1169ca3c3
|
@ -0,0 +1,8 @@
|
|||
import asyncio
|
||||
import sys
|
||||
|
||||
if sys.platform == 'win32':
|
||||
# workaround for
|
||||
# https://github.com/tornadoweb/tornado/issues/2751
|
||||
# https://www.tornadoweb.org/en/stable/index.html#installation
|
||||
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
|
Loading…
Reference in New Issue