From a45504e9e2d86c1d80ef5a4e3c28428c11941675 Mon Sep 17 00:00:00 2001 From: Mohamed-Hacene Date: Fri, 6 Dec 2024 11:11:09 +0100 Subject: [PATCH] fix: typos --- backend/core/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/core/views.py b/backend/core/views.py index 9aeefd33c..62117b838 100644 --- a/backend/core/views.py +++ b/backend/core/views.py @@ -864,7 +864,7 @@ def duplicate(self, request, pk): if ( duplicate_risk_assessment.folder in [risk_assessment.folder] - + [risk for risk in risk_assessment.folder.get_sub_folders()] + + [folder for folder in risk_assessment.folder.get_sub_folders()] ): duplicate_scenario.owner.set(scenario.owner.all())