mirror of https://gitlab.crans.org/bde/nk20
Merge branch 'linters' into 'main'
fix linters for WEI 2024 survey See merge request bde/nk20!274
This commit is contained in:
commit
8fbaa0bdc8
|
@ -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']
|
||||||
|
|
Loading…
Reference in New Issue