diff --git a/inbound_verify/expected_undelivered.py b/inbound_verify/expected_undelivered.py index 1b9fc2f..b23e9c6 100644 --- a/inbound_verify/expected_undelivered.py +++ b/inbound_verify/expected_undelivered.py @@ -40,7 +40,9 @@ from openpyxl.chart import BarChart, Reference from openpyxl.worksheet.page import PageMargins from openpyxl.worksheet.properties import PageSetupProperties -BASE = os.path.dirname(os.path.abspath(__file__)) +# 包内文件:上两级 = 项目根(与 paths.BASE_DIR 一致;站点下载落在 /downloads)。 +# 注:本模块自带锚点是 paths.py 的重复,Tier 2 计划改为直接引用 paths.DOWNLOAD_DIR/OUTPUT_DIR。 +BASE = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) DOWNLOADS = os.path.join(BASE, "downloads") OUTPUT = os.path.join(BASE, "output") OUTFILE = os.path.join(OUTPUT, "应到未到数据.xlsx")