set store to faubourg
This commit is contained in:
@@ -7,7 +7,7 @@ from src.utils.excel_reader import read_contacts, fr_phone_number_prefix, get_ra
|
||||
|
||||
|
||||
def upload_contacts_list():
|
||||
_contacts_to_book = read_contacts("/Users/lpan/Desktop/contact_list_2024-02-12.xlsx")
|
||||
_contacts_to_book = read_contacts("/Users/panlei/Desktop/contact_list_2024-02-29.xlsx")
|
||||
return _contacts_to_book
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ def generate_valid_contact_list_for_day():
|
||||
_all_contacts = MONGO_STORE_MANAGER.get_all_contacts_to_book()
|
||||
_contact_to_save = []
|
||||
for _contact in _valid_contact_list:
|
||||
_contact.store = "faubourg"
|
||||
if _contact.last_name is None or len(_contact.last_name) == 0:
|
||||
for _true_contact in _all_contacts:
|
||||
if _true_contact.mail == _contact.mail:
|
||||
|
||||
Reference in New Issue
Block a user