modify scripts
This commit is contained in:
@ -155,7 +155,7 @@ def check_pdf_pages(file_path, row, tbl_name):
|
|||||||
file_name = os.path.basename(file_path)
|
file_name = os.path.basename(file_path)
|
||||||
new_path = os.path.join(pdf_tmp_dir, file_name)
|
new_path = os.path.join(pdf_tmp_dir, file_name)
|
||||||
shutil.move(file_path, new_path)
|
shutil.move(file_path, new_path)
|
||||||
logging.debug(f"move {file_name} to {tmp_dir}")
|
logging.debug(f"move {file_name} to {pdf_tmp_dir}")
|
||||||
|
|
||||||
# macro 和 stra 表,需要更新页码回去
|
# macro 和 stra 表,需要更新页码回去
|
||||||
if tbl_name == StockReportDB.TBL_MACRESEARCH or tbl_name == StockReportDB.TBL_STRATEGY:
|
if tbl_name == StockReportDB.TBL_MACRESEARCH or tbl_name == StockReportDB.TBL_STRATEGY:
|
||||||
|
|||||||
Reference in New Issue
Block a user