Suppression prints inutiles

This commit is contained in:
Jean-Marie Favreau 2025-01-25 17:53:24 +01:00
parent c1cc98ec92
commit 509a9d5379

View File

@ -1615,7 +1615,6 @@ class Event(models.Model):
# Limitation: the given events should not be considered similar one to another...
def import_events(events, remove_missing_from_source=None, user_id=None):
logger.warning("aaaaaa >>>f")
user = None
if user_id:
user = User.objects.filter(pk=user_id).first()
@ -1629,7 +1628,6 @@ class Event(models.Model):
# for each event, check if it's a new one, or a one to be updated
for event in events:
logger.warning("aaaa1 >>>f")
sdate = date.fromisoformat(event.start_day)
if event.end_day:
edate = date.fromisoformat(event.end_day)