From 95446596c8bcc71743bb2dfbcb51b6b8aeadc0fe Mon Sep 17 00:00:00 2001 From: PAN Lei Date: Thu, 1 Feb 2024 22:44:27 +0100 Subject: [PATCH] add method to extract all validated contacts of the day --- src/person_name/contact_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/person_name/contact_manager.py b/src/person_name/contact_manager.py index 49f53f1..4570f9e 100755 --- a/src/person_name/contact_manager.py +++ b/src/person_name/contact_manager.py @@ -7,7 +7,7 @@ from src.utils.excel_reader import read_contacts def upload_contacts_list(): - _contacts_to_book = read_contacts("/Users/lpan/Desktop/08_01_24_valid_de.xlsx") + _contacts_to_book = read_contacts("/Users/lpan/Desktop/contacts_valid_2.xlsx") return _contacts_to_book @@ -44,6 +44,8 @@ def generate_valid_contact_list_for_day(): for _true_contact in _all_contacts: if _true_contact.mail == _contact.email: _contact.lastName = _true_contact.last_name + _contact.phone = _true_contact.phone + _contact.passport = _true_contact.passport _contact.firstName = _true_contact.first_name if _contact.url_validated: