Fix correction counting : make the things global
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user