Daily commit.
This commit is contained in:
@ -82,7 +82,7 @@ def add_props_from_func(people, data, group):
|
||||
payload = {
|
||||
"data": [
|
||||
{
|
||||
"attributes": {"properties": {"agency_name": agname }},
|
||||
"attributes": {"properties": {"agency_name": agname}},
|
||||
"id": learner_uuid,
|
||||
"type": "person_properties",
|
||||
}
|
||||
@ -95,7 +95,7 @@ def add_props_from_func(people, data, group):
|
||||
errorlist.append(error_tupe)
|
||||
else:
|
||||
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)
|
||||
errorlist.append(error_tupe)
|
||||
print(f"{e} has occurred with {learner_email}")
|
||||
|
||||
Reference in New Issue
Block a user