This commit is contained in:
pvizeli 2017-03-29 12:01:05 +02:00
parent c4c1ce8e64
commit dc566f64b2
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
"""Bootstrap HassIO."""
import json
import logging
import os
import stat

View File

@ -49,7 +49,7 @@ class HassIO(object):
# first start of supervisor?
if self.config.homeassistant_tag is None:
_LOGGER.info("First start of supervisor, read version from github.")
_LOGGER.info("No HomeAssistant docker found. Install it now")
# read homeassistant tag and install it
current = None
@ -57,7 +57,7 @@ class HassIO(object):
current = await tools.fetch_current_versions(self.websession)
if current and HOMEASSISTANT_TAG in current:
resp = await self.homeassistant.install(
current[HOMEASSISTANT_TAG]):
current[HOMEASSISTANT_TAG])
if resp:
break
_LOGGER.warning("Can't fetch info from github. Retry in 60.")