handle non ascci in csv file (#41870)

This commit is contained in:
Emmanuel Cazenave 2020-04-22 11:47:55 +02:00
parent e1b70814ea
commit f53a09cc1d
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ query getDossiers($demarcheNumber: Int!, $createdSince: ISO8601DateTime, $first:
def get_rows():
for entreprise in Entreprise.objects.filter(resource=self):
row = [getattr(entreprise, attr) for attr in COLUMNS_KEYNAMES]
row = [force_str(getattr(entreprise, attr)) for attr in COLUMNS_KEYNAMES]
yield row
pseudo_buffer = Echo()