Fix hanging landingpage (#1196)

This commit is contained in:
Pascal Vizeli 2019-08-11 09:05:47 +02:00 committed by GitHub
parent 5ffc27f60c
commit ee773f3b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,7 +269,7 @@ class HomeAssistant(JsonConfig, CoreSysAttributes):
tag = self.latest_version tag = self.latest_version
if tag: if tag:
with suppress(DockerAPIError): with suppress(DockerAPIError):
await self.instance.install(tag) await self.instance.update(tag)
break break
_LOGGER.warning("Error on install Home Assistant. Retry in 30sec") _LOGGER.warning("Error on install Home Assistant. Retry in 30sec")
await asyncio.sleep(30) await asyncio.sleep(30)