Commit 18b23061 authored by raida's avatar raida

Fix bug when we come grom wei_1a

parent 23395e0e
......@@ -1664,6 +1664,7 @@ def WEI1A(request, sock, kwargs):
return (variables, "note/wei_1a.html")
else:
variables["succes"] = True
variables["liste"] = algo1a.test(True, [], 1)
return (variables, "note/page_form.html")
else:
......@@ -1713,7 +1714,6 @@ def WEI1Aalgo(request, sock, kwargs):
elif request.method == "POST":
separator = "#" if request.session["quest"] != "" else ""
request.session["quest"] += separator + request.POST.get("reponse")
variables["liste"] = algo1a.test(True, request.session["quest"].split("#"), 1)
else:
......
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