From dc566f64b2d44f92bff0e583b3c6a06230063719 Mon Sep 17 00:00:00 2001 From: pvizeli Date: Wed, 29 Mar 2017 12:01:05 +0200 Subject: [PATCH] Fix lint --- hassio_api/hassio/bootstrap.py | 1 - hassio_api/hassio/core.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hassio_api/hassio/bootstrap.py b/hassio_api/hassio/bootstrap.py index 1e9d6abe8..47a0f3301 100644 --- a/hassio_api/hassio/bootstrap.py +++ b/hassio_api/hassio/bootstrap.py @@ -1,5 +1,4 @@ """Bootstrap HassIO.""" -import json import logging import os import stat diff --git a/hassio_api/hassio/core.py b/hassio_api/hassio/core.py index 0a555b991..7d05339ec 100644 --- a/hassio_api/hassio/core.py +++ b/hassio_api/hassio/core.py @@ -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.")