更新tmp目录位置

This commit is contained in:
赵小蒙
2024-02-29 18:40:11 +08:00
parent 3ed288b60c
commit 41dd74c2c5

View File

@@ -108,7 +108,7 @@ def parse_pdf_by_model(
debug_mode=False,
):
pdf_bytes = read_file(s3_pdf_path, s3_pdf_profile)
save_tmp_path = os.path.join(os.path.dirname(__file__), "..", "..", "tmp", "unittest")
save_tmp_path = os.path.join(os.path.dirname(__file__), "..", "tmp", "unittest")
md_bookname_save_path = ""
book_name = sanitize_filename(book_name)
if debug_mode: