Commit a88e3fd1e8a0e1d94af0344ce6988a9d95322d94

Authored by Gust
Committed by Sergio Oliveira
1 parent 0763e223

Fix verification of import emails

colab/super_archives/management/commands/message.py
... ... @@ -79,7 +79,7 @@ class Message(mailbox.mboxMessage):
79 79 return body.strip()
80 80  
81 81 def get_received_datetime(self):
82   - if self not in ('Received'):
  82 + if ('Received') not in self:
83 83 return None
84 84 # The time received should always be the last element
85 85 # in the `Received` attribute from the message headers
... ...