Skip to content

Commit

Permalink
Correction rapport de fréquentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bsongis committed Jun 10, 2020
1 parent 25761f1 commit 02205c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# You should have received a copy of the GNU General Public License
# along with Gertrude; if not, see <http://www.gnu.org/licenses/>.

VERSION = '1.22.33'
VERSION = '1.22.34'

0 comments on commit 02205c6

Please sign in to comment.