handle non ascci in csv file (#41870)
This commit is contained in:
parent
e1b70814ea
commit
f53a09cc1d
|
@ -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()
|
||||
|
|
Reference in New Issue