diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 88ffbdff..d62ca737 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -930,11 +930,12 @@ def set_admin(proprio): texte = [] checklist = [] - if carte_ok == 'off' or iscontroleur: - checklist.append(u'"1" "Carte d\'étudiant %d/%d fournie" "%s"' % - (ann_scol, ann_scol+1, carte)) - else: - texte.append(u'Carte vérifiée') + if has_card: + if carte_ok == 'off' or iscontroleur: + checklist.append(u'"1" "Carte d\'étudiant %d/%d fournie" "%s"' % + (ann_scol, ann_scol+1, carte)) + else: + texte.append(u'Carte vérifiée') if paiement_ok == 'off' or iscontroleur: checklist.append(u'"2" "Cotisation %d/%d réglée et charte signée" "%s"' %