diff --git a/gregui/api/views/person.py b/gregui/api/views/person.py index e67bd200d1e33e387a089bfc5d9ec6ef39eb3bea..db651e1c22a661f2950d72abe9336bd874cf4689 100644 --- a/gregui/api/views/person.py +++ b/gregui/api/views/person.py @@ -127,7 +127,11 @@ class PersonSearchViewSet(GenericViewSet): included_persons = [] for person in persons: - output_data = {"pid": person.id, "first": person.first_name, "last": person.last_name} + output_data = { + "pid": person.id, + "first": person.first_name, + "last": person.last_name, + } if include_birth_date: output_data["date_of_birth"] = person.date_of_birth hits.append(output_data)