From 4d7585574fc1ec1fbd08ae4b924a4b32c4dccb2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Fri, 25 Sep 2015 01:22:11 +0200 Subject: [PATCH] db.search("nom=&prenom") == db.search("nom=*&prenom=*") == allAdherents --- gestion/gest_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 86b6d251..d3c69f74 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -110,7 +110,7 @@ def set_bases(adher): # Affichage annul, result = dialog(arg) - if annul: + if annul and any([result[i] == '' for i in xrange(len(result))]): return 1 # Traitement