From 7dd877e98dede77b2e50260009f6dec89052f03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Thu, 23 Oct 2014 23:20:38 +0200 Subject: [PATCH] =?UTF-8?q?[config]=20Blocage=20carte=20apr=C3=A8s=20les?= =?UTF-8?q?=20vacances.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/config/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/config/config.py b/gestion/config/config.py index 28466f73..d131cf2c 100644 --- a/gestion/config/config.py +++ b/gestion/config/config.py @@ -38,7 +38,7 @@ fin_periode_transitoire = time.mktime(time.strptime("%s/09/30 23:59:59" % (ann_s # /!\ Par sécurité, ces valeurs sont considérées comme False si # periode_transitoire est True # Soft (au niveau du Squid) -bl_carte_et_actif = dat[1] not in [9, 10] +bl_carte_et_actif = not (dat[1] in [9, 10] or dat[1] == 11 and dat[2] < 7) # Hard (l'adhérent est considéré comme paiement pas ok) bl_carte_et_definitif = dat[1] == 10 and dat[2] < 15