From b858a716ef36eee2fa8b87b547880445da8e8d3e Mon Sep 17 00:00:00 2001 From: Romain Beuque Date: Fri, 12 Sep 2014 23:45:38 +0200 Subject: [PATCH] correction erreur dans la deconnexion globale --- Brie/brie/lib/aurore_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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