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