Commit 072d2a96 authored by Jeremie Dimino's avatar Jeremie Dimino


Le choix par defaut ne marchait pas.

parent 20d5ced5
......@@ -63,10 +63,11 @@ ou (choix, doc, valeur) ou encore (choix, doc, valeur, operation), où:
raise KeyboardInterrupt()
if answer == " ":
for choice in choices:
if choice[0].lower != choix[0]:
if choice[0].lower != choice[0]:
answer = choice[0][0].lower()
cprint("Aucun choix par défaut!")
if answer == " ":
cprint("Aucun choix par défaut!")
answer = answer.lower()
for choice in choices:
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