Compare commits

..

3 Commits

Author SHA1 Message Date
aeltheos 1e4b340c11 Merge branch 'nix-shell' into 'main'
Nix shell

See merge request bde/nk20!201
2024-10-04 21:39:51 +02:00
mcngnt 8fbaa0bdc8 Merge branch 'linters' into 'main'
fix linters for WEI 2024 survey

See merge request bde/nk20!274
2024-10-03 16:51:04 +02:00
bleizi 3c34033bf5
fix linters for WEI 2024 survey 2024-09-12 13:41:04 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ class WEISurveyAlgorithm2024(WEISurveyAlgorithm):
for survey in surveys: for survey in surveys:
survey.free() survey.free()
if survey.registration.user_id in hardcoded_first_year.keys(): 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() survey.save()
non_men = [s for s in surveys if s.registration.gender != 'male'] non_men = [s for s in surveys if s.registration.gender != 'male']