From 5c7287c8eee7429752f33f1412140f6c1c11acab Mon Sep 17 00:00:00 2001 From: Romain Beuque Date: Tue, 7 Jan 2014 00:22:00 +0000 Subject: [PATCH] =?UTF-8?q?correction=20d'une=20erreur=20sur=20le=20nombre?= =?UTF-8?q?=20de=20mois=20cotis=C3=A9s=20entre=20janv=20et=20aout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Brie/brie/lib/aurore_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Brie/brie/lib/aurore_helper.py b/Brie/brie/lib/aurore_helper.py index 07fd7c0..7b828f6 100644 --- a/Brie/brie/lib/aurore_helper.py +++ b/Brie/brie/lib/aurore_helper.py @@ -51,10 +51,10 @@ class CotisationComputes: if start > 8 and end > 8: next_months_available = range(start, end + 1) + elif start <= 8 and end < 9: + next_months_available = range(start, end + 1) elif start > 8: next_months_available = range(start, 13) + range(1, end + 1 ) - elif start <= 8 and end < 9: - next_months_available = range(start, 9) else: raise Exception("invalid start and end") #end if