Daily commit.
This commit is contained in:
@ -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}")
|
||||||
|
|||||||
Reference in New Issue
Block a user