diff --git a/pa_job_manager.py b/pa_job_manager.py index 338247d..f8c5b49 100644 --- a/pa_job_manager.py +++ b/pa_job_manager.py @@ -1476,6 +1476,7 @@ def AddToJobImageCount(job, entry ): # so we can then just calls JobRunAIOn #################################################################################################################################### def JobRunAIOnPath(job): + JobProgressState( job, "In Progress" ) path_type=[jex.value for jex in job.extra if jex.name == "path_type"][0] paths=session.query(Path).join(PathType).filter(PathType.id==path_type).all() path_cnt=0 @@ -2078,6 +2079,10 @@ def ScanFileForPerson( job, e, force=False ): # add log, set current_file and increment file_num in job if DEBUG: ProcessFileForJob( job, f'DEBUG: processing File: {e.name} and threshold face distance of {threshold}', e.name ) + else: + job.current_file=e.name + if job.num_files: + job.current_file_num=job.current_file_num+1 file_h = session.query(File).get( e.id ) # if we are forcing this, delete any old faces (this will also delete linked tables), and reset faces_created_on to None if force: