From 97553ab91f6c41fa48a43d5280880fc91068de53 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 16 May 2014 01:42:03 +0200 Subject: [PATCH] oubli du .strip() --- gestion/affich_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/affich_tools.py b/gestion/affich_tools.py index 31fa565d..9f7c4328 100755 --- a/gestion/affich_tools.py +++ b/gestion/affich_tools.py @@ -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