This commit is contained in:
2026-04-23 08:22:57 +02:00
parent c7989ca915
commit c60951c582
+1 -1
View File
@@ -227,7 +227,7 @@ for pdf_path in BASE_DIR.glob("*.pdf"):
name_part = f" {patient['prijmeni']}, {patient['jmeno']}"
else:
name_part = ""
new_name = f"{rc_final} {name_part}{date_iso} [EKG] [bez hodnocení].pdf"
new_name = f"{rc_final} {date_iso}{name_part} [EKG] [bez hodnocení].pdf"
new_path = pdf_path.with_name(new_name)
if not new_path.exists():