From cf0ecb76617a336fbb3bf17f8e529e05a1527329 Mon Sep 17 00:00:00 2001 From: bernat Date: Sat, 2 Oct 2004 15:05:30 +0200 Subject: [PATCH] Affichage + erreur d'encodage darcs-hash:20041002130530-d1718-6cfcb4b1316c0414f77df33617ceb57d3f3bb20a.gz --- gestion/whos.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gestion/whos.py b/gestion/whos.py index f1439324..bbf13dea 100755 --- a/gestion/whos.py +++ b/gestion/whos.py @@ -172,8 +172,8 @@ def clubs_brief(clubs) : for c in clubs : ## Etat administratif - ok = u'\x1b[1;32m\xa4\x1b[1;0m' - nok = u'\x1b[1;31m\xa4\x1b[1;0m' + ok = u'\x1b[1;32mo\x1b[1;0m' + nok = u'\x1b[1;31mn\x1b[1;0m' # Paiement if ann_scol in c.paiement() : paid = ok else : paid = nok @@ -198,7 +198,7 @@ def clubs_brief(clubs) : return u"Machines en rouge = machines avec limitation de services\n" + \ u"P : signature charte année en cours, le fond vert indique le précâblage\n" + \ - tableau([5, 15 , 6, 1, 21, '*'], data) + tableau([5, '*' , 6, 1, 21, 15], data) def list_machines(machines) :