library/calendar_sync.py aktualisiert

This commit is contained in:
2025-04-30 10:00:35 +00:00
parent 89550d5a80
commit ef910f600f

View File

@ -58,9 +58,7 @@ def sync_ics_to_caldav(module):
results = {'added': [], 'updated': [], 'removed': []}
for vevent in ics_events:
if not hasattr(vevent, 'uid') or not vevent.uid.value:
continue # Events ohne UID überspringen
uid = str(vevent.uid.value)
uid = str(vevent.uid.value) # Korrektur hier
ical_data = vevent.serialize()
if uid not in existing_events: