Skip to content

Commit

Permalink
Added code to set event loop policy on Windows to
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Aug 17, 2023
1 parent cadfc4c commit 73eb60a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proxybroker/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
import sys
from contextlib import contextmanager

import sys
import asyncio

if sys.platform == 'win32':
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

from . import __version__ as version
from .api import Broker
from .utils import update_geoip_db
Expand Down

0 comments on commit 73eb60a

Please sign in to comment.