This commit is contained in:
pvizeli 2017-03-31 16:37:35 +02:00
parent 80cd8776de
commit 9a390f6fc9
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,6 @@ import os
from .const import ( from .const import (
FILE_HASSIO_CONFIG, HOMEASSISTANT_TAG, HOMEASSISTANT_IMAGE, FILE_HASSIO_CONFIG, HOMEASSISTANT_TAG, HOMEASSISTANT_IMAGE,
HOMEASSISTANT_SSL, HOMEASSISTANT_CONFIG, HASSIO_SHARE) HOMEASSISTANT_SSL, HOMEASSISTANT_CONFIG, HASSIO_SHARE)
from .tools import fetch_current_versions
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View File

@ -123,7 +123,7 @@ class DockerBase(object):
return return
self.container.reload() self.container.reload()
if self.container.status == 'running' if self.container.status == 'running':
with suppress(docker.errors.DockerException): with suppress(docker.errors.DockerException):
self.container.stop() self.container.stop()