Fix bug (encore)
This commit is contained in:
parent
5240f426c1
commit
77941ed0ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user