diff --git a/apps/wei/forms/surveys/wei2024.py b/apps/wei/forms/surveys/wei2024.py index 20d9ba1c..518d58f0 100644 --- a/apps/wei/forms/surveys/wei2024.py +++ b/apps/wei/forms/surveys/wei2024.py @@ -291,7 +291,7 @@ class WEISurveyAlgorithm2024(WEISurveyAlgorithm): for survey in surveys: survey.free() if survey.registration.user_id in hardcoded_first_year.keys(): - survey.select_bus(hardcoded_first_year[s.registration.user_id]) + survey.select_bus(hardcoded_first_year[survey.registration.user_id]) survey.save() non_men = [s for s in surveys if s.registration.gender != 'male']