diff --git a/app/aws/s3.py b/app/aws/s3.py index 734cd9513..8c542efe8 100644 --- a/app/aws/s3.py +++ b/app/aws/s3.py @@ -477,6 +477,11 @@ def get_phone_number_from_s3(service_id, job_id, job_row_number): current_app.logger.debug("HAVE TO REEXTRACT PHONES!") phones = extract_phones(job, service_id, job_id) set_job_cache(f"{job_id}_phones", phones) + print(f"SETTING PHONES TO {phones}") + else: + phones = phones[ + 0 + ] # we only want the phone numbers not the cache expiration time # If we can find the quick dictionary, use it phone_to_return = phones[job_row_number]