mirror of
https://github.com/django/daphne.git
synced 2025-04-17 23:32:12 +03:00
Refactor: variable extraction.
This commit is contained in:
parent
e79f78d016
commit
0da1d1ad73
|
@ -11,4 +11,5 @@ PY38_WIN = sys.version_info >= (3, 8) and sys.platform == "win32"
|
|||
if PY38_WIN:
|
||||
import asyncio
|
||||
|
||||
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
|
||||
event_loop_policy = asyncio.WindowsSelectorEventLoopPolicy()
|
||||
asyncio.set_event_loop_policy(event_loop_policy)
|
||||
|
|
Loading…
Reference in New Issue
Block a user