fix census BOM error

This commit is contained in:
Kenneth Kehl
2024-12-17 10:50:55 -08:00
parent 3127e71f07
commit 020af71574

View File

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