mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 00:36:11 -06:00
7961 fix does not exist validation error
This commit is contained in:
parent
5ed58959e9
commit
3c32968b5f
@ -555,7 +555,7 @@ class ViewTestCases:
|
|||||||
|
|
||||||
# pre-pend id into data
|
# pre-pend id into data
|
||||||
csv_data = []
|
csv_data = []
|
||||||
for idx, line in enumerate(self.csv_update_data, start=start):
|
for idx, line in enumerate(self.csv_data, start=start):
|
||||||
if idx == start:
|
if idx == start:
|
||||||
csv_data.append("id," + header)
|
csv_data.append("id," + header)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user