11617 update header processing for related fields

This commit is contained in:
Arthur 2023-04-25 08:26:16 -07:00 committed by Jeremy Stretch
parent f7b3dad29c
commit a9f62c2e6e

View File

@ -236,7 +236,7 @@ def parse_csv(reader):
headers = {}
# Consume the first line of CSV data as column headers.
headers = headers_to_dict(list(reader))
headers = headers_to_dict(list(next(reader)))
# Parse CSV rows into a list of dictionaries mapped from the column headers.
for i, row in enumerate(reader, start=1):