From 5f1a1b1397d5ee42413f0c328476713f0081db85 Mon Sep 17 00:00:00 2001 From: Charlie Jacomme Date: Sat, 8 Aug 2015 03:42:12 +0200 Subject: [PATCH] Adding conditionnal for --crans, no more exception --- gestion/whos.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gestion/whos.py b/gestion/whos.py index 2b963e6e..cb1a3fbb 100755 --- a/gestion/whos.py +++ b/gestion/whos.py @@ -1444,6 +1444,9 @@ def __recherche() : elif res['adherent'] : cprint(u'Aucun résultat à afficher') sys.exit(4) + elif only_crans : + cprint(u"Résultats trouvés parmi les machines :", 'cyan') + aff(res['machine'],mtech) # Non : on affiche tout. else : if res['adherent'] :