mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-25 18:16:32 +00:00
add missing id
This commit is contained in:
parent
fbe409337b
commit
c51496ad2f
@ -76,7 +76,7 @@ class SupervisorJob(CoreSysAttributes):
|
|||||||
) -> None:
|
) -> None:
|
||||||
"""Update the job object."""
|
"""Update the job object."""
|
||||||
if progress is not None:
|
if progress is not None:
|
||||||
if progress >= round(100) and self.parrent is None:
|
if progress >= round(100) and self.parrent_id is None:
|
||||||
self.sys_jobs.remove_job(self)
|
self.sys_jobs.remove_job(self)
|
||||||
return
|
return
|
||||||
self._progress = round(progress)
|
self._progress = round(progress)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user