Skip to content

Commit fe169fe

Browse files
authored
Fix aiodns issue on Windows (#816)
1 parent 4525265 commit fe169fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

streamrip/rip/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
logger = logging.getLogger("streamrip")
2929

30+
if platform.system() == "Windows":
31+
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
3032

3133
class Main:
3234
"""Provides all of the functionality called into by the CLI.

0 commit comments

Comments
 (0)