fix bug
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -146,7 +146,7 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -146,7 +146,7 @@ class Command(BaseCommand, LoggerMixin): |
146 | ocr_res = self.ocr_process(img_path, classify) | 146 | ocr_res = self.ocr_process(img_path, classify) |
147 | all_res[img_path] = ocr_res | 147 | all_res[img_path] = ocr_res |
148 | self.res_process(all_res, classify, excel_path) | 148 | self.res_process(all_res, classify, excel_path) |
149 | shutil.move(pdf_save_path, pdf_output_dir) | 149 | shutil.move(path, pdf_save_path) |
150 | 150 | ||
151 | def img_process(self, name, path, classify, wb_output_dir, img_output_dir, pdf_output_dir): | 151 | def img_process(self, name, path, classify, wb_output_dir, img_output_dir, pdf_output_dir): |
152 | ocr_res = self.ocr_process(path, classify) | 152 | ocr_res = self.ocr_process(path, classify) | ... | ... |
-
Please register or sign in to post a comment