From c58513d15efce4aa271f19f53a223656564b83ab Mon Sep 17 00:00:00 2001 From: Victor Fabre Date: Wed, 26 Dec 2018 07:48:14 -0200 Subject: [PATCH] tira ipdb --- sapl/sessao/forms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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