fix bug
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -439,7 +439,7 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -439,7 +439,7 @@ class Command(BaseCommand, LoggerMixin): |
439 | 439 | ||
440 | with lock: | 440 | with lock: |
441 | doc_res_dict = res_dict.setdefault(task_str, {}) | 441 | doc_res_dict = res_dict.setdefault(task_str, {}) |
442 | doc_res_dict[os.path.basename(img_path)] = ocr_1_res | 442 | doc_res_dict[img_path] = ocr_1_res |
443 | res_dict[task_str] = doc_res_dict | 443 | res_dict[task_str] = doc_res_dict |
444 | todo_count = todo_count_dict.get(task_str) | 444 | todo_count = todo_count_dict.get(task_str) |
445 | if todo_count == 1: | 445 | if todo_count == 1: | ... | ... |
-
Please register or sign in to post a comment