From 44d886a5795b6460a739e4a479a14c352cace3d8 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Tue, 12 Feb 2019 19:17:23 -0200 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20conserta=20bug=20em=20proposi=C3=A7?= =?UTF-8?q?=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/materia/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/materia/views.py b/sapl/materia/views.py index 58b530217..505f04758 100644 --- a/sapl/materia/views.py +++ b/sapl/materia/views.py @@ -939,6 +939,7 @@ class ProposicaoCrud(Crud): username = request.user.username if proposicao: + msg = '' if proposicao[0][0] and proposicao[0][1]: self.logger.error('user=' + username + '. Proposição (id={}) já foi enviada e recebida.' 'Não pode mais ser editada'.format(kwargs['pk']))