This commit is contained in:
@@ -137,7 +137,7 @@ def setup_routes(app: FastAPI) -> None:
|
||||
# 2. Собираем все файлы .docx за период
|
||||
all_files = []
|
||||
current_date = start_date
|
||||
while current_date <= finish_date:
|
||||
while current_date <= finish_date + timedelta(days=1):
|
||||
date_path = current_date.strftime("%Y/%m/%d")
|
||||
full_dir_path = os.path.join(DOCUMENTS_DIR, date_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user