From a7a6c91920f235eb1b5f05d00756b756f625cb47 Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 1 Oct 2024 15:21:22 +0200 Subject: [PATCH] fix: [mail module] fix typo --- bin/modules/Mail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/modules/Mail.py b/bin/modules/Mail.py index 33932cb3..29477ed2 100755 --- a/bin/modules/Mail.py +++ b/bin/modules/Mail.py @@ -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()