Fix bug (encore)

This commit is contained in:
Jean-Marie Favreau 2025-01-02 20:51:37 +01:00
parent 5240f426c1
commit 77941ed0ee

View File

@ -1165,6 +1165,7 @@ class Event(models.Model):
messages = self.get_contributor_message()
logger.warning("messages: ")
logger.warning(messages)
if messages:
for message in messages:
if message and not message.closed and message.email:
# send email