library/calendar_sync.py aktualisiert
This commit is contained in:
@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user