fix up extra debug / file_cnts on RunAIOn job -- when we fix logging, fix this properly
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user