library/calendar_sync.py aktualisiert
This commit is contained in:
@ -50,7 +50,7 @@ def sync_ics_to_caldav(module):
|
||||
)
|
||||
|
||||
existing_events = {
|
||||
event.icalendar_component.uid.value: event # Korrektur hier
|
||||
event.icalendar_component.uid.value: event
|
||||
for event in target_cal.events()
|
||||
}
|
||||
|
||||
@ -58,7 +58,7 @@ def sync_ics_to_caldav(module):
|
||||
results = {'added': [], 'updated': [], 'removed': []}
|
||||
|
||||
for vevent in ics_events:
|
||||
uid = str(vevent.uid.value) # Korrektur hier
|
||||
uid = str(vevent.uid.value)
|
||||
ical_data = vevent.serialize()
|
||||
|
||||
if uid not in existing_events:
|
||||
|
||||
Reference in New Issue
Block a user