2924f378 by 周伟奇

fix bug

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