From 1d3cd303fae3041129668a7c17f7f9d5050e00fe Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 27 Jun 2019 16:05:47 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20conserta=20erro=20exposto=20(n=C3=A3?= =?UTF-8?q?o=20criado)=20por=20commit=2038f372f?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index 001b0e91b..c8d424e98 100755 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -515,7 +515,7 @@ class MateriaOrdemDiaCrud(MasterDetailCrud): form_class = OrdemDiaForm def get_initial(self): - initial = super(UpdateView, self).get_initial() + initial = super().get_initial() initial['tipo_materia'] = self.object.materia.tipo.id initial['numero_materia'] = self.object.materia.numero initial['ano_materia'] = self.object.materia.ano