mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 08:25:17 -06:00
11617 update header processing for related fields
This commit is contained in:
parent
f7b3dad29c
commit
a9f62c2e6e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user