Commit e2aba431 authored by baptiste's avatar baptiste
Browse files

Arretez de lire mes commits au lieu de râler

parent efdb4643
......@@ -1687,8 +1687,7 @@ def WEI1Aalgo(request, sock, kwargs):
if "quest" not in request.session["wei1A2019"]:
request.session["wei1A2019"]["quest"] = "" # Initialise la variable
res = request.session["wei1A2019"]["quest"]
res = "" if res[0] == "" else res
variables["liste"] = algo1a.test(True, res.split("#"), 1)
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", ]))
......
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