mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-18 22:56:31 +00:00
fix lint
This commit is contained in:
parent
5ebf2068b2
commit
421b380043
@ -96,7 +96,7 @@ class HassIO(object):
|
||||
now=True)
|
||||
|
||||
# Load homeassistant
|
||||
await self.homeassistant.prepare():
|
||||
await self.homeassistant.prepare()
|
||||
|
||||
# Load addons
|
||||
await self.addons.prepare()
|
||||
|
@ -260,9 +260,13 @@ class DockerBase(object):
|
||||
if not self._install(tag):
|
||||
return False
|
||||
|
||||
# cleanup old stuff
|
||||
# run or cleanup container
|
||||
if was_running:
|
||||
self._run()
|
||||
else:
|
||||
self._stop()
|
||||
|
||||
# cleanup images
|
||||
self._cleanup()
|
||||
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user