library/calendar_sync.py aktualisiert

This commit is contained in:
2025-07-12 08:42:53 +00:00
parent 47878d7fb8
commit 31d38ad6f2

View File

@ -64,8 +64,9 @@ def sync_ics_to_caldav(module):
if component.name == 'VEVENT' and hasattr(component, "uid"): if component.name == 'VEVENT' and hasattr(component, "uid"):
uid = str(component.uid) uid = str(component.uid)
existing_events[uid] = event existing_events[uid] = event
except Exception as e: except Exception:
raise Exception(f"Fehler beim Parsen eines bestehenden Events: {str(e)}") # Fehler beim Parsen eines Events ignorieren
continue
changed = False changed = False
results = {'added': [], 'updated': [], 'removed': []} results = {'added': [], 'updated': [], 'removed': []}
@ -115,3 +116,4 @@ def run_module():
if __name__ == '__main__': if __name__ == '__main__':
run_module() run_module()