Browse Source

Fixes #3344 (#3345)

Co-authored-by: eribeiro <edwardr@senado.leg.br>
pull/3358/head
Edward 4 years ago
committed by GitHub
parent
commit
df647a4872
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      sapl/materia/forms.py

4
sapl/materia/forms.py

@ -1984,6 +1984,10 @@ class ProposicaoForm(FileFieldCheckMixin, forms.ModelForm):
cd = self.cleaned_data
texto_original = cd.get('texto_original', False)
if texto_original:
validar_arquivo(texto_original, 'Texto Original')
tm, am, nm = (cd.get('tipo_materia', ''),
cd.get('ano_materia', ''),
cd.get('numero_materia', ''))

Loading…
Cancel
Save