mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
chore: call selectorPolicy
This commit is contained in:
parent
758e532a6a
commit
2b4438720c
|
@ -2,8 +2,8 @@ import asyncio
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
def asyncio_setup() -> None:
|
def asyncio_setup() -> None: # pragma: no cover
|
||||||
# Set eventloop for win32 setups
|
# Set eventloop for win32 setups
|
||||||
|
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy)
|
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user