mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Lint
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user