mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
fix rows concatenation
This commit is contained in:
parent
9622817037
commit
41f3154db3
1 changed files with 3 additions and 2 deletions
|
@ -184,9 +184,10 @@ def write_csv(
|
|||
# It indicates that DomainInformation.domain is None.
|
||||
logger.error("csv_export -> Error when parsing row, domain was None")
|
||||
continue
|
||||
total_body_rows.append(rows)
|
||||
total_body_rows.extend(rows)
|
||||
|
||||
update_columns_with_domain_managers(columns, max_dm_count)
|
||||
if get_domain_managers:
|
||||
update_columns_with_domain_managers(columns, max_dm_count)
|
||||
if should_write_header:
|
||||
write_header(writer, columns)
|
||||
writer.writerows(total_body_rows)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue