Update src/registrar/management/commands/load_transition_domain.py

Co-authored-by: Neil MartinsenBurrell <neil.martinsen-burrell@gsa.gov>
This commit is contained in:
CuriousX 2023-10-04 14:28:25 -06:00 committed by GitHub
parent 12467276b5
commit 487d2586fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -369,7 +369,7 @@ transtion_domain table for domain:
for row in csv.reader(contacts_file, delimiter=sep):
userId = row[0]
user_email = row[6]
user_emails_dictionary[userId].append(user_email)
user_emails_dictionary[userId] = user_email
logger.info("Loaded emails for %d users", len(user_emails_dictionary))
return user_emails_dictionary