use contact_all.xlsx

This commit is contained in:
2022-04-12 10:25:31 +02:00
parent 4c310a6097
commit 68686c451d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ class DataManager:
cred = credentials.Certificate(definitions.ROOT_DIR + "/appointment.json")
self._app = firebase_admin.initialize_app(cred)
self._db = firestore.client()
self._contact_list = excel_reader.read_contacts("/contact_bak.xlsx")
self._contact_list = excel_reader.read_contacts("/contact_all.xlsx")
def get_all_error_items(self):
pass
+1 -1
View File
@@ -56,7 +56,7 @@ class ModemPool:
ccid = ccid_group.group(0)
operator = check_operator(ccid)
if operator == Operator.SFR or operator == Operator.CHINA_TELECOM:
contacts = self._excel_helper.read_contacts()
contacts = self._excel_helper.read_contacts("/contact_all.xlsx")
contact = [contact for contact in contacts if
contact.ccid.replace("F", "") == ccid.replace("F", "")]
if len(contact) > 0: