Correct error message

pull/877/head
Nicco Kunzmann 2025-09-22 19:47:54 +01:00
rodzic 84527db1ac
commit c2b2b087de
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1587,7 +1587,7 @@ def get_start_end_duration_with_validation(
end_name = "DTEND" if end_property == "DTEND" else "DUE"
msg = (
f"Only one of {end_name} and DURATION "
"may be in a {component_name}, not both."
f"may be in a {component_name}, not both."
)
raise InvalidCalendar(msg)