diff --git a/Brie/brie/lib/aurore_helper.py b/Brie/brie/lib/aurore_helper.py index ca9367a..cdd87cc 100644 --- a/Brie/brie/lib/aurore_helper.py +++ b/Brie/brie/lib/aurore_helper.py @@ -179,7 +179,7 @@ class CotisationComputes: cotisations = Cotisation.cotisations_of_member(user_session, member_dn, current_year) #end if #en septembre, on ne met pas de membre en old afin que les anciens ne soient pas deconnectes - return Room.get_by_member_dn(user_session, residence_dn, member_dn) == None or datetime.datetime.now().month != 9 or cotisations == [] + return Room.get_by_member_dn(user_session, residence_dn, member_dn) == None or (datetime.datetime.now().month != 9 and cotisations == []) #end def @staticmethod