Skip to content

Commit

Permalink
fix unkown ram type
Browse files Browse the repository at this point in the history
  • Loading branch information
parmigggiana committed Oct 18, 2024
1 parent be4db62 commit c55442b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peracotta/parsers/read_decode_dimms.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def parse_decode_dimms(dimms: str, interactive: bool = False) -> List[dict]:
for line in dimm.splitlines():
if line.startswith("Fundamental Memory type"):
dimms[i]["ram-type"] = line.split(" ")[-2].lower()
if dimms[i]["ram-type"] == "UNKNOWN":
if dimms[i]["ram-type"] == "unknown":
del dimms[i]["ram-type"]

if line.startswith("Maximum module speed"):
Expand Down

0 comments on commit c55442b

Please sign in to comment.