From 9c97b931903967d480270c2c580599edf60bd193 Mon Sep 17 00:00:00 2001 From: Konstantine Tsafatinos Date: Wed, 3 Jul 2024 22:15:54 -0400 Subject: [PATCH] update db pull to make emails lowercase --- utils/db.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/db.py b/utils/db.py index df87e16..5f377ae 100644 --- a/utils/db.py +++ b/utils/db.py @@ -66,16 +66,16 @@ def get_pod_data_from_db(connection): pod_time_slot = row[3] lead_ta_fn = row[4] lead_ta_ln = row[5] - lead_ta_email = row[6] + lead_ta_email = row[6].lower() ta_fn = row[7] ta_ln = row[8] - ta_email = row[9] + ta_email = row[9].lower() project_ta_fn = row[10] project_ta_ln = row[11] - project_ta_email = row[12] + project_ta_email = row[12].lower() student_fn = row[13] student_ln = row[14] - student_email = row[15] + student_email = row[15].lower() # Verify all necessary data for names # TODO: verify the rest of the data