Skip to content
Snippets Groups Projects
Commit 4661e14f authored by Swen Vermeul's avatar Swen Vermeul
Browse files

if person is None, do not return None as a string

parent 5ea8a0f6
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,10 @@ def extract_role_assignments(ras):
def extract_person(person):
if not isinstance(person, dict):
return str(person)
if person is None:
return ''
else:
return str(person)
return person['userId']
def extract_person_details(person):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment