Skip to content

Commit

Permalink
fix: [mail module] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Oct 1, 2024
1 parent 9f45202 commit a7a6c91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/modules/Mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ def extract(self, obj, content, tag):
# # 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()
Expand Down

0 comments on commit a7a6c91

Please sign in to comment.