fix progress v2

This commit is contained in:
Pascal Vizeli 2017-07-11 23:08:47 +02:00
parent e40963a686
commit d978ec00aa

View File

@ -148,10 +148,14 @@ class HomeAssistant(JsonConfig):
""" """
return self.docker.logs() return self.docker.logs()
@property
def is_running(self): def is_running(self):
"""Return True if docker container is running. """Return True if docker container is running.
Return a coroutine. Return a coroutine.
""" """
return self.docker.is_running return self.docker.is_running()
@property
def in_progress(self):
"""Return True if a task is in progress."""
return self.docker.in_progress