1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-02-15 07:27:13 +00:00

add missing id

This commit is contained in:
Ludeeus
2021-04-13 13:06:32 +00:00
parent fbe409337b
commit c51496ad2f

View File

@@ -76,7 +76,7 @@ class SupervisorJob(CoreSysAttributes):
) -> None:
"""Update the job object."""
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)
return
self._progress = round(progress)