mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
merge from main
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user