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"):
|
||||
uid = str(component.uid)
|
||||
existing_events[uid] = event
|
||||
except Exception as e:
|
||||
raise Exception(f"Fehler beim Parsen eines bestehenden Events: {str(e)}")
|
||||
except Exception:
|
||||
# Fehler beim Parsen eines Events ignorieren
|
||||
continue
|
||||
|
||||
changed = False
|
||||
results = {'added': [], 'updated': [], 'removed': []}
|
||||
@ -115,3 +116,4 @@ def run_module():
|
||||
|
||||
if __name__ == '__main__':
|
||||
run_module()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user