From 556899bfbb9a855cb4e4c764c15cb13a84c7c496 Mon Sep 17 00:00:00 2001
From: pka065 <pka065@it6100016.klientdrift.uib.no>
Date: Fri, 7 Oct 2022 12:47:36 +0200
Subject: [PATCH] Fix style

---
 gregui/api/views/person.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gregui/api/views/person.py b/gregui/api/views/person.py
index e67bd200..db651e1c 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)
-- 
GitLab