Fix correction counting : make the things global
parent
00fc8d07fb
commit
6d17633108
|
|
@ -237,6 +237,7 @@ completed_set = set((str(f), l) for f, l in completed_tasks)
|
|||
tasks_to_process = [t for t in tasks if (str(t[0]), t[1]) not in completed_set]
|
||||
|
||||
def process_single_task(task_tuple):
|
||||
global pro_count, flash_count
|
||||
file_path, label = task_tuple
|
||||
group_name = os.path.splitext(file_path)[0]
|
||||
json_path = group_name + '.json'
|
||||
|
|
|
|||
Loading…
Reference in New Issue