Commit a8f8902e authored by raida's avatar raida

Test9

parent dc045543
......@@ -1685,10 +1685,6 @@ def WEI1Aalgo(request, sock, kwargs):
variables = {}
res = request.session["quest"]
variables["old"] = res
variables["liste"] = algo1a.test(True, [] if res == '' else res.split("#"), 1)
# On récupère les paramètres habituels de l'appli WEI
sock.write(json.dumps(["wei_main", ]))
out = nk.full_read(sock)
......@@ -1717,6 +1713,9 @@ def WEI1Aalgo(request, sock, kwargs):
separator = "#" if request.session["quest"] != "" else ""
request.session["quest"] += separator + request.POST.get("reponse")
res = request.session["quest"]
variables["liste"] = algo1a.test(True, [] if res == '' else res.split("#"), 1)
# DEBUG
variables["wei"] = request.session["wei1A2019"].copy()
variables["quest"] = request.session["quest"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment