call HandleJobs() when RunJob() finished to run any dependant jobs

This commit is contained in:
2021-01-20 22:01:14 +11:00
parent f7a94f0b7d
commit 5b99855cb5
2 changed files with 2 additions and 5 deletions

View File

@@ -243,6 +243,8 @@ def RunJob(job):
JobGetFileDetails(job)
else:
print("ERROR: Requested to process unknown job type: {}".format(job.name))
# okay, we finished a job, so check for any jobs that are dependant on this and run them...
HandleJobs()
return
def FinishJob(job, last_log, state="Completed", pa_job_state="Completed"):