mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Lint
This commit is contained in:
parent
e07b6dfe0b
commit
03845ef490
@ -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