mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Lint
This commit is contained in:
parent
71e3047f5c
commit
37706c2731
@ -28,6 +28,7 @@ def set_loop() -> None:
|
||||
|
||||
if sys.platform == 'win32':
|
||||
if hasattr(asyncio, 'WindowsProactorEventLoopPolicy'):
|
||||
# pylint: disable=no-member
|
||||
policy = asyncio.WindowsProactorEventLoopPolicy()
|
||||
else:
|
||||
class ProactorPolicy(BaseDefaultEventLoopPolicy):
|
||||
|
Loading…
x
Reference in New Issue
Block a user