diff --git a/library/calendar_sync.py b/library/calendar_sync.py index 7a86f25..7493bbf 100644 --- a/library/calendar_sync.py +++ b/library/calendar_sync.py @@ -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: