slight fix of the unused field at the end of the List

This commit is contained in:
2026-06-26 14:18:23 +02:00
parent eb9c655398
commit 3923939387
@@ -207,6 +207,11 @@ def new(date_start: str, date_end: str, time_span: list, slots, slot_length, use
except (ValueError, TypeError):
slots_int = 0
try:
custom_fields.pop(-1)
except :
pass
try:
slot_length_int = int(slot_length)
except (ValueError, TypeError):