diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index c8d424e98..9946ea9be 100755 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -594,7 +594,7 @@ class ExpedienteMateriaCrud(MasterDetailCrud): form_class = ExpedienteMateriaForm 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