Skip to content
Snippets Groups Projects
Commit 273ea6b9 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Fix security controls import

parent f8e3cfc2
No related branches found
No related tags found
No related merge requests found
......@@ -305,9 +305,9 @@ def map_security_controls(nren: NREN, year: int, answers: Dict[str, Any]):
if security_controls:
if "other" in security_controls:
security_controls.remove("other")
comment = answers.get("security_controls-Comment", "").strip()
if comment:
security_controls.append(comment)
comment = answers.get("security_controls-Comment", "").strip()
if comment:
security_controls.append(comment)
return {
'nren_id': nren.id,
'year': year,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment