add missing id

This commit is contained in:
Ludeeus 2021-04-13 13:06:32 +00:00
parent fbe409337b
commit c51496ad2f
1 changed files with 1 additions and 1 deletions

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)