From 535621b5f0c460fae1a1cfb36153934bbc688b69 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 be9ae9ac1..45ea22d8a 100644 --- a/sapl/sessao/models.py +++ b/sapl/sessao/models.py @@ -227,7 +227,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(