mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 14:17:16 +00:00
fix: [mail module] fix typo
This commit is contained in:
parent
9f45202658
commit
a7a6c91920
1 changed files with 2 additions and 2 deletions
|
@ -135,10 +135,10 @@ class Mail(AbstractModule):
|
|||
# # TODO: sanitize mails
|
||||
def compute(self, message):
|
||||
score = message
|
||||
obj = self.get_obj()
|
||||
item = self.get_obj()
|
||||
item_date = item.get_date()
|
||||
|
||||
mails = self.regex_findall(self.email_regex, obj.id, obj.get_content())
|
||||
mails = self.regex_findall(self.email_regex, item.id, item.get_content())
|
||||
mxdomains_email = {}
|
||||
for mail in mails:
|
||||
mxdomain = mail.rsplit('@', 1)[1].lower()
|
||||
|
|
Loading…
Reference in a new issue