Merge pull request #1336 from GSA/notify-admin-1956

fix phone number lookup
This commit is contained in:
Kenneth Kehl
2024-09-27 09:23:59 -07:00
committed by GitHub

View File

@@ -309,7 +309,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