From 01b068215606cd86479adb718bd96c0abe678947 Mon Sep 17 00:00:00 2001 From: Cesar Carvalho Date: Tue, 13 Aug 2019 13:53:08 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20Corrige=20formata=C3=A7=C3=A3o=20de?= =?UTF-8?q?=20strings=20em=20protocoloadm=20e=20relatorios?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/protocoloadm/views.py | 2 +- sapl/relatorios/views.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sapl/protocoloadm/views.py b/sapl/protocoloadm/views.py index 961f74c27..6c48bbea8 100755 --- a/sapl/protocoloadm/views.py +++ b/sapl/protocoloadm/views.py @@ -551,7 +551,7 @@ class ProtocoloDocumentoView(PermissionRequiredMixin, ).sequencia_numeracao_protocolo if not numeracao: self.logger.error("user=" + username + ". É preciso definir a sequencia de " - "numeração na tabelas auxiliares! " + str(e)) + "numeração na tabelas auxiliares! ") msg = _('É preciso definir a sequencia de ' + 'numeração na tabelas auxiliares!') messages.add_message(self.request, messages.ERROR, msg) diff --git a/sapl/relatorios/views.py b/sapl/relatorios/views.py index 0d26b26ed..e66c8752e 100755 --- a/sapl/relatorios/views.py +++ b/sapl/relatorios/views.py @@ -1411,7 +1411,6 @@ def relatorio_sessao_plenaria_pdf(request, pk): Legislatura".format(inf_basicas_dic['num_sessao_plen'], inf_basicas_dic['nom_sessao'], inf_basicas_dic['num_sessao_leg'], - inf_basicas_dic['num_legislatura'], inf_basicas_dic['num_legislatura'] )