Browse Source

HOT-FIX: diminui o tamanho para acelerar renderização do barcode

pull/1650/head
Edward Ribeiro 7 years ago
parent
commit
7b2e391474
  1. 2
      sapl/materia/views.py

2
sapl/materia/views.py

@ -827,7 +827,7 @@ class ReciboProposicaoView(TemplateView):
_hash = 'P' + ta.hash() + '/' + str(proposicao.id)
from sapl.utils import create_barcode
base64_data = create_barcode(_hash, 100, 2000)
base64_data = create_barcode(_hash, 100, 200)
barcode = 'data:image/png;base64,{0}'.format(base64_data)

Loading…
Cancel
Save