This commit is contained in:
2024-04-08 01:12:39 +02:00
parent 65a5046ea7
commit 11e0cbe434

View File

@@ -43,7 +43,7 @@ class caldav_sync_manager(models.Model):
def init_task_management(self):
today = datetime.now()
o_caldav_sync_management = caldav_sync_manager.objects.filter(dtDate=today.date())
if not o_caldav_sync_management.exists() or o_caldav_sync_management.first().bDone is False:
if not o_caldav_sync_management.exists():
self.copy_caldav_data()
else:
print("pas de copy, sync déjà fait")