Fixed column names must be lower case for internal usage.
This commit is contained in:
parent
61909127cd
commit
3e6648773f
|
|
@ -29,6 +29,7 @@ def write_bom(filename, ext, groups, headings, cfg):
|
||||||
"""
|
"""
|
||||||
# Allow renaming the columns
|
# Allow renaming the columns
|
||||||
head_names = [h if h.lower() not in cfg.column_rename else cfg.column_rename[h.lower()] for h in headings]
|
head_names = [h if h.lower() not in cfg.column_rename else cfg.column_rename[h.lower()] for h in headings]
|
||||||
|
headings = [h.lower() for h in headings]
|
||||||
result = False
|
result = False
|
||||||
# CSV file writing
|
# CSV file writing
|
||||||
if ext in ["csv", "tsv", "txt"]:
|
if ext in ["csv", "tsv", "txt"]:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue