diff --git a/compendium_v2/publishers/year/map_2023.py b/compendium_v2/publishers/year/map_2023.py index 44a959b57c1a2cc0b72627dd83d6710f88658068..46d8fc668281718056690b2b45f45c849fd36f36 100644 --- a/compendium_v2/publishers/year/map_2023.py +++ b/compendium_v2/publishers/year/map_2023.py @@ -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,