diff --git a/sapl/sessao/forms.py b/sapl/sessao/forms.py index 63b2039c5..87f7b9c47 100644 --- a/sapl/sessao/forms.py +++ b/sapl/sessao/forms.py @@ -539,8 +539,7 @@ class VotacaoForm(forms.Form): qtde_presentes = cleaned_data['total_presentes'] qtde_votos = votos_sim + votos_nao + abstencoes voto_presidente = cleaned_data['voto_presidente'] - # import ipdb; - # ipdb.set_trace() + if qtde_presentes and not voto_presidente: qtde_presentes -= 1