Correction.
Le choix par defaut ne marchait pas. darcs-hash:20071218005218-af139-a0606ebac7075654f6fc833b7e1ca97cbfd31cb9.gz
This commit is contained in:
parent
20d5ced53f
commit
072d2a9609
1 changed files with 3 additions and 2 deletions
|
@ -63,9 +63,10 @@ ou (choix, doc, valeur) ou encore (choix, doc, valeur, operation), où:
|
||||||
raise KeyboardInterrupt()
|
raise KeyboardInterrupt()
|
||||||
if answer == " ":
|
if answer == " ":
|
||||||
for choice in choices:
|
for choice in choices:
|
||||||
if choice[0].lower != choix[0]:
|
if choice[0].lower != choice[0]:
|
||||||
answer = choice[0][0].lower()
|
answer = choice[0][0].lower()
|
||||||
break
|
break
|
||||||
|
if answer == " ":
|
||||||
cprint("Aucun choix par défaut!")
|
cprint("Aucun choix par défaut!")
|
||||||
else:
|
else:
|
||||||
answer = answer.lower()
|
answer = answer.lower()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue