Débug copy tache config

This commit is contained in:
Ambulance Clerc
2023-06-01 09:30:58 +02:00
parent b037bd53bf
commit c9542ad58d

View File

@@ -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: