From 7bdd9f8945729bf7380a20c9e28dd498ac0bff9c Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Wed, 21 Aug 2019 16:40:26 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20corrige=20str=20para=20tipos=20de=20?= =?UTF-8?q?numera=C3=A7=C3=A3o=20de=20sess=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/sessao/models.py b/sapl/sessao/models.py index 20b83e921..58fe5a149 100644 --- a/sapl/sessao/models.py +++ b/sapl/sessao/models.py @@ -172,7 +172,7 @@ class SessaoPlenaria(models.Model): if self.tipo.tipo_numeracao == tnc.quizenal: base += ' da {}ª Quinzena'.format( - 1 if self.data_inicio.day > 15 else 2) + 1 if self.data_inicio.day <= 15 else 2) if self.tipo.tipo_numeracao <= tnc.mensal: base += ' do mês de {}'.format(