diff --git a/apps/wei/forms/surveys/wei2024.py b/apps/wei/forms/surveys/wei2024.py index cf0659d2..ef3f37f9 100644 --- a/apps/wei/forms/surveys/wei2024.py +++ b/apps/wei/forms/surveys/wei2024.py @@ -81,30 +81,13 @@ buses_descr = [ ] -def print_survey_info(i): - s = {"recap": { - "1": 0, - }} - s_ = {f"bus{i}": {f"{i}": 0 for i in range(1, 5 + 1)} for i in range(len(buses_descr))} - s.update(s_) - s.update({f"bus{i}": {f"{join}": join for join in range(1, 5 + 1)}}) - s = {"scores": s} - json_str = json.dumps(s) - print(json_str) - - - def print_bus(i): return f"""

{buses_descr[i][0]}


Alcoolomètre : {buses_descr[i][2]} / 5 🍻

{buses_descr[i][3]}
""" - - def print_all_buses(): - # for i in range(len(buses_descr)): - # print_survey_info(i) liste = [print_bus(i) for i in range(len(buses_descr))] return "



".join(liste)