diff --git a/jc/parsers/lspci.py b/jc/parsers/lspci.py index ce233e61..8d8d01f5 100644 --- a/jc/parsers/lspci.py +++ b/jc/parsers/lspci.py @@ -103,11 +103,11 @@ def parse( raw_output.append(device_output) device_output = {} - device_output['Slot'] = line.split()[1] + device_output['slot'] = line.split()[1] continue key, val = line.split(maxsplit=1) - key = key[:-1] + key = key[:-1].lower() # numeric only (-nmmv) if item_id_p.match(val):