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']}")
|
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(
|
my_event = calandar.save_event(
|
||||||
dtstart=event["DTSTART"].dt,
|
dtstart=event["DTSTART"].dt,
|
||||||
dtend=event["DTEND"].dt,
|
dtend=event["DTEND"].dt,
|
||||||
summary= event["SUMMARY"],
|
summary= _title,
|
||||||
description=event["DESCRIPTION"],
|
description= _desc,
|
||||||
)
|
)
|
||||||
|
|
||||||
with open(os.path.join("mycaldav", "last_sync_config.bin"), "wb") as file:
|
with open(os.path.join("mycaldav", "last_sync_config.bin"), "wb") as file:
|
||||||
|
Reference in New Issue
Block a user