Affichage + erreur d'encodage

darcs-hash:20041002130530-d1718-6cfcb4b1316c0414f77df33617ceb57d3f3bb20a.gz
This commit is contained in:
bernat 2004-10-02 15:05:30 +02:00
parent 1b031fd5f2
commit cf0ecb7661

View file

@ -172,8 +172,8 @@ def clubs_brief(clubs) :
for c in clubs : for c in clubs :
## Etat administratif ## Etat administratif
ok = u'\x1b[1;32m\xa4\x1b[1;0m' ok = u'\x1b[1;32mo\x1b[1;0m'
nok = u'\x1b[1;31m\xa4\x1b[1;0m' nok = u'\x1b[1;31mn\x1b[1;0m'
# Paiement # Paiement
if ann_scol in c.paiement() : paid = ok if ann_scol in c.paiement() : paid = ok
else : paid = nok else : paid = nok
@ -198,7 +198,7 @@ def clubs_brief(clubs) :
return u"Machines en rouge = machines avec limitation de services\n" + \ 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" + \ 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) : def list_machines(machines) :