mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
11 lines
236 B
Python
11 lines
236 B
Python
import sys
|
|
|
|
|
|
def asyncio_setup() -> None: # pragma: no cover
|
|
# Set eventloop for win32 setups
|
|
|
|
if sys.platform == "win32":
|
|
import asyncio
|
|
|
|
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
|