2924f378 by 周伟奇

fix bug

1 parent cf502dfa
......@@ -146,7 +146,7 @@ class Command(BaseCommand, LoggerMixin):
ocr_res = self.ocr_process(img_path, classify)
all_res[img_path] = ocr_res
self.res_process(all_res, classify, excel_path)
shutil.move(pdf_save_path, pdf_output_dir)
shutil.move(path, pdf_save_path)
def img_process(self, name, path, classify, wb_output_dir, img_output_dir, pdf_output_dir):
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!