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