mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-23 17:16:33 +00:00
Fix lint
This commit is contained in:
parent
80cd8776de
commit
9a390f6fc9
@ -6,7 +6,6 @@ import os
|
||||
from .const import (
|
||||
FILE_HASSIO_CONFIG, HOMEASSISTANT_TAG, HOMEASSISTANT_IMAGE,
|
||||
HOMEASSISTANT_SSL, HOMEASSISTANT_CONFIG, HASSIO_SHARE)
|
||||
from .tools import fetch_current_versions
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -123,7 +123,7 @@ class DockerBase(object):
|
||||
return
|
||||
|
||||
self.container.reload()
|
||||
if self.container.status == 'running'
|
||||
if self.container.status == 'running':
|
||||
with suppress(docker.errors.DockerException):
|
||||
self.container.stop()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user