Commit b48ae706 authored by raida's avatar raida

Fix bug

parent f2ba6525
......@@ -1710,7 +1710,7 @@ def WEI1Aalgo(request, sock, kwargs):
if request.method == "GET":
variables["form"] = forms.WEI1AForm(label_suffix=_(u" :"))
variables["type"] = '1a'
if not request.session.has_key("wei1A2019"):
if not request.session["wei1A2019"].has_key("nom"):
return redirect('note/wei_1a.html')
variables["liste"] = algo1a.test(True, [], request.session["wei1A2019"]["nom"] + request.session["wei1A2019"]["prenom"])
variables["nb_quest"] = 0
......
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