begin year 2026

This commit is contained in:
2026-01-07 07:53:08 +03:30
parent cbdda5f210
commit e3c6fe8112
2 changed files with 21 additions and 20 deletions

View File

@@ -70,7 +70,7 @@ def find_last_workbook(files):
def get_workbook_names(files, batch_serial):
last_workbook = find_last_workbook(files)
path_of_the_year = pathlib.Path(str(path_).replace("2024", str(datetime.now().year)))
path_of_the_year = pathlib.Path(str(path_).replace("2025", str(datetime.now().year)))
return last_workbook, path_of_the_year / pattern.replace(
"[SERIAL]", batch_serial.split("/")[0]
)