From 45f58ce2a346cda33e4a353be4769aceaa046c71 Mon Sep 17 00:00:00 2001 From: Nicolas Bruot Date: Fri, 20 Aug 2010 21:05:09 +0200 Subject: [PATCH] [./gestion.config.py] Les adhesions en aout sont pour l'annee suivante Ignore-this: 16b0b439fcae9525625435174b41d85f darcs-hash:20100820190509-12f45-2877f7cd003b9f069481b102adda2f0150cc86b0.gz --- gestion/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/config.py b/gestion/config.py index ed70d651..5fc2751c 100644 --- a/gestion/config.py +++ b/gestion/config.py @@ -17,8 +17,8 @@ from config_srv import adm_only, role # Ne modifier que les dates ! dat = localtime() -if dat[1] < 8 or (dat[1] == 8 and dat[2] < 23): - # Si pas encore fin août, on est dans l'année précédente +if dat[1] < 8: + # Si pas encore début août, on est dans l'année précédente ann_scol = dat[0]-1 periode_transitoire = False # sinon on change d'année