From fe17d9c8f5ee7af2b93672878160ff5d07bd2188 Mon Sep 17 00:00:00 2001 From: Lei PAN Date: Wed, 20 Mar 2024 18:05:22 +0100 Subject: [PATCH] correction on mail_reader.py --- src/mail/mail_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mail/mail_reader.py b/src/mail/mail_reader.py index 0e474a6..ddb3b31 100755 --- a/src/mail/mail_reader.py +++ b/src/mail/mail_reader.py @@ -209,7 +209,7 @@ def need_to_check_email(mail: str, successful_items) -> bool: return True # return True # get all the item with the current mail - filtered_items = list(filter(lambda item: item.email == mail, successful_items)) + filtered_items = list(filter(lambda item: item.mail == mail, successful_items)) # has validated value if len(filtered_items) > 0: validated_items = list(filter(