Débug copy tache config
This commit is contained in:
@@ -319,11 +319,14 @@ class cls_caldav_client():
|
||||
print(f"copy de l'événement: {event['SUMMARY']}")
|
||||
|
||||
|
||||
_title = event["SUMMARY"] if ("SUMMARY" in event) else "Sans Titre"
|
||||
_desc = event["DESCRIPTION"] if ("DESCRIPTION" in event) else ""
|
||||
|
||||
my_event = calandar.save_event(
|
||||
dtstart=event["DTSTART"].dt,
|
||||
dtend=event["DTEND"].dt,
|
||||
summary= event["SUMMARY"],
|
||||
description=event["DESCRIPTION"],
|
||||
summary= _title,
|
||||
description= _desc,
|
||||
)
|
||||
|
||||
with open(os.path.join("mycaldav", "last_sync_config.bin"), "wb") as file:
|
||||
|
Reference in New Issue
Block a user