From 170dc12284d54c87097549ed1bfeb368478e12ee Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 22 May 2025 08:31:33 -0700 Subject: [PATCH] fix reports --- app/aws/s3.py | 5 +++++ 1 file changed, 5 insertions(+) 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]