From 41e027bbb5e351b5d978bdc13cdca1a9f6abec00 Mon Sep 17 00:00:00 2001 From: bernat Date: Thu, 24 Feb 2005 09:13:53 +0100 Subject: [PATCH] Pour les commentaires, on remet la boite de dialogue tant qu'il y a des modifs darcs-hash:20050224081353-d1718-d03fe0b5bf23ce21c3f4f0891ffd259b4e30b8d8.gz --- gestion/gest_crans.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index cc95bc89..fb2d12ee 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -691,13 +691,15 @@ def __prompt_input_menu(method,titre,prompt) : if val : method(val) else : method([num-1,val]) - + except ValueError, c : arg = u'--title "%s" ' % titre arg+= u'--msgbox "%s\n\n\n" 0 0' % c.args[0] dialog(arg) return __prompt_input_menu(method,titre,prompt) - + else: + return __prompt_input_menu(method,titre,prompt) + def set_solde(clas) : """ Débit ou crédit d'un compte """ while 1 :