Daily commit.

This commit is contained in:
Norm Rasmussen
2025-03-27 17:10:27 -04:00
parent 3257ab72cc
commit 1b05010c77

View File

@ -82,7 +82,7 @@ def add_props_from_func(people, data, group):
payload = { payload = {
"data": [ "data": [
{ {
"attributes": {"properties": {"agency_name": agname }}, "attributes": {"properties": {"agency_name": agname}},
"id": learner_uuid, "id": learner_uuid,
"type": "person_properties", "type": "person_properties",
} }
@ -95,7 +95,7 @@ def add_props_from_func(people, data, group):
errorlist.append(error_tupe) errorlist.append(error_tupe)
else: else:
print(f"Looks like {learner_email} and {agname} was successful.") print(f"Looks like {learner_email} and {agname} was successful.")
except ( TypeError,IndexError ) as e: except (TypeError, IndexError) as e:
error_tupe = (0, learner_email, agency_name) error_tupe = (0, learner_email, agency_name)
errorlist.append(error_tupe) errorlist.append(error_tupe)
print(f"{e} has occurred with {learner_email}") print(f"{e} has occurred with {learner_email}")