diff --git a/database.py b/database.py index 5a589710..abc42657 100644 --- a/database.py +++ b/database.py @@ -1775,6 +1775,9 @@ def GetState(self, date, mode_arrondi=SANS_ARRONDI): heures_reference = reference.get_duration(mode_arrondi) ref_state = reference.get_state() + if self.creche.jours_fermeture_non_prevus.get(date): + return State(ABSENT, heures_reference, 0, 0) + if date in self.days: journee = self.days[date] state = journee.get_state() diff --git a/version.py b/version.py index 76840c61..b68a699f 100755 --- a/version.py +++ b/version.py @@ -15,4 +15,4 @@ # You should have received a copy of the GNU General Public License # along with Gertrude; if not, see . -VERSION = '1.22.33' +VERSION = '1.22.34'