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 :