mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Add version test for monkey_patch_asyncio() (#5127)
* Add version test for monkey_patch_asyncio() * Update __main__.py
This commit is contained in:
parent
f71027a9c7
commit
52f6fe3e06
@ -356,7 +356,8 @@ def try_to_restart() -> None:
|
||||
|
||||
def main() -> int:
|
||||
"""Start Home Assistant."""
|
||||
monkey_patch_asyncio()
|
||||
if sys.version_info[:3] < (3, 5, 3):
|
||||
monkey_patch_asyncio()
|
||||
|
||||
validate_python()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user