fix bug
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -447,10 +447,10 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -447,10 +447,10 @@ class Command(BaseCommand, LoggerMixin): |
447 | # continue | 447 | # continue |
448 | 448 | ||
449 | del json_data_1 | 449 | del json_data_1 |
450 | # /data/bmw-ocr-data/AFC/6/img/page_0_img_0.jpeg | 450 | # /data/bmw-ocr-data/AFC/tmp/6/img/page_0_img_0.jpeg |
451 | # AFC_2 | 451 | # AFC_2 |
452 | path_split = img_path.split('/') | 452 | path_split = img_path.split('/') |
453 | task_str = consts.SPLIT_STR.join((path_split[-4], path_split[-3])) | 453 | task_str = consts.SPLIT_STR.join((path_split[-5], path_split[-3])) |
454 | 454 | ||
455 | with lock: | 455 | with lock: |
456 | doc_res_dict = res_dict.setdefault(task_str, {}) | 456 | doc_res_dict = res_dict.setdefault(task_str, {}) | ... | ... |
-
Please register or sign in to post a comment