Browse Source

Update sapl/sessao/views.py

Co-authored-by: Edward <9326037+edwardoliveira@users.noreply.github.com>
pull/3513/head
Gustavo274 3 years ago
committed by GitHub
parent
commit
dc8e7d188a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      sapl/sessao/views.py

5
sapl/sessao/views.py

@ -2079,9 +2079,8 @@ def get_assinaturas(sessao_plenaria):
def get_assinaturas_presidente(sessao_plenaria):
mesa_dia = get_mesa_diretora(sessao_plenaria)['mesa']
presidente_dia = [next(iter(
[m['parlamentar'] for m in mesa_dia if m['cargo'].descricao == 'Presidente']),
'')]
presidente_dia = [m['parlamentar'] for m in mesa_dia if m['cargo'].descricao == 'Presidente']
presidente_dia = presidente_dia[0] if presidente_dia else ''
context = {}
assinatura_presidente = [

Loading…
Cancel
Save