oubli du .strip()

This commit is contained in:
Vincent Le Gallic 2014-05-16 01:42:03 +02:00
parent a6cde8064a
commit 97553ab91f

View file

@ -314,7 +314,7 @@ def prompt(prompt, defaut=u'', couleur='gras'):
while True:
try:
v = raw_input(prompt_s.encode(encoding))
v = cranslib.cransstrings.decode_dammit(v)
v = cranslib.cransstrings.decode_dammit(v).strip()
if not v:
v = defaut
return v