1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-22 19:39:18 +00:00

Change update flow to a higher level (#150)

This commit is contained in:
Pascal Vizeli
2017-08-14 23:56:52 +02:00
committed by GitHub
parent 14013ac923
commit 57f3178408
3 changed files with 27 additions and 25 deletions

View File

@@ -121,7 +121,10 @@ class HomeAssistant(JsonConfig):
_LOGGER.warning("Version %s is already installed", version)
return False
return await self.docker.update(version)
try:
return await self.docker.update(version)
finally:
await self.docker.run()
def run(self):
"""Run HomeAssistant docker.