debug
This commit is contained in:
@@ -67,9 +67,8 @@ class caldav_sync_manager(models.Model):
|
||||
|
||||
events = recurring_ical_events.of(Calendar.from_ical(sabre_data)).at((seeked_date.year,seeked_date.month,seeked_date.day))
|
||||
|
||||
b_copy_done = False
|
||||
|
||||
for event in events:
|
||||
b_copy_done = True
|
||||
print(f"copy de l'événement: {event['SUMMARY']}")
|
||||
|
||||
|
||||
@@ -82,7 +81,6 @@ class caldav_sync_manager(models.Model):
|
||||
summary= _title,
|
||||
description= _desc,
|
||||
)
|
||||
if b_copy_done:
|
||||
self.set_today_as_synced()
|
||||
|
||||
|
||||
@@ -90,6 +88,7 @@ class caldav_sync_manager(models.Model):
|
||||
|
||||
|
||||
|
||||
|
||||
# Create your models here.
|
||||
class cls_caldav():
|
||||
url = ""
|
||||
|
Reference in New Issue
Block a user