merge from main

This commit is contained in:
Kenneth Kehl
2024-03-22 13:37:35 -07:00
10 changed files with 193 additions and 246 deletions

View File

@@ -114,8 +114,7 @@ def extract_phones(job):
job_row = 0
for row in job:
row = row.split(",")
current_app.logger.info(f"PHONE INDEX IS NOW {phone_index}")
current_app.logger.info(f"LENGTH OF ROW IS {len(row)}")
if phone_index >= len(row):
phones[job_row] = "Unavailable"
current_app.logger.error(

View File

@@ -1,8 +1,4 @@
from strenum import StrEnum # type: ignore [import-not-found]
# In 3.11 this is in the enum library. We will not need this external library any more.
# The line will simply change from importing from strenum to importing from enum.
# And the strenum library can then be removed from poetry.
from enum import StrEnum
class TemplateType(StrEnum):