From 9066b716d55b094b2bbe1e20636f07b787d6225f Mon Sep 17 00:00:00 2001 From: Lude Ribeiro Date: Fri, 10 Dec 2021 14:02:41 -0300 Subject: [PATCH] tratando telefone --- sigi/apps/servicos/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/servicos/views.py b/sigi/apps/servicos/views.py index 04ec597..3b41d65 100644 --- a/sigi/apps/servicos/views.py +++ b/sigi/apps/servicos/views.py @@ -312,7 +312,7 @@ def export_csv(request): lista.append(servico.casa_legislativa.email.encode("utf-8")) if servico.casa_legislativa.telefone is not None: lista.append(servico.casa_legislativa.telefone.encode("utf-8")) - else + else: lista.append("") elif _(u"Contato Interlegis") == atributo: lista.append(servico.casa_legislativa.contato_interlegis.encode("utf-8"))