fix phone number lookup

This commit is contained in:
Kenneth Kehl
2024-09-24 10:17:02 -07:00
parent 5db03feebd
commit a3c1663d94

View File

@@ -304,7 +304,7 @@ def extract_phones(job):
phone_index = 0
for item in first_row:
# Note: may contain a BOM and look like \ufeffphone number
if "phone number" in item.lower():
if item.lower() in ["phone number", "\ufeffphone number"]:
break
phone_index = phone_index + 1