Skip to content

Commit

Permalink
Fix for tornado asyncio.set_event_loop on Windows and Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
OevreFlataeker committed Aug 3, 2020
1 parent 58fb74c commit 2c39108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ida/idacode_utils/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def create_socket_handler():

def start_server():
# Fix for https://github.com/tornadoweb/tornado/issues/2608
if sys.platform=='win32':
if sys.platform=='win32' and sys.version_info >= (3,8):
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

setup_patches()
Expand Down

0 comments on commit 2c39108

Please sign in to comment.