c8aa6329 by 周伟奇

fix bug

1 parent 5501dd21
...@@ -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, {})
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!