From ef910f600f15b1c8c24e1dd3786dd268cf1040e3 Mon Sep 17 00:00:00 2001 From: midas Date: Wed, 30 Apr 2025 10:00:35 +0000 Subject: [PATCH] library/calendar_sync.py aktualisiert --- library/calendar_sync.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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: