Skip to content

Commit c55442b

Browse files
committed
fix unkown ram type
1 parent be4db62 commit c55442b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/peracotta/parsers/read_decode_dimms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def parse_decode_dimms(dimms: str, interactive: bool = False) -> List[dict]:
3838
for line in dimm.splitlines():
3939
if line.startswith("Fundamental Memory type"):
4040
dimms[i]["ram-type"] = line.split(" ")[-2].lower()
41-
if dimms[i]["ram-type"] == "UNKNOWN":
41+
if dimms[i]["ram-type"] == "unknown":
4242
del dimms[i]["ram-type"]
4343

4444
if line.startswith("Maximum module speed"):

0 commit comments

Comments
 (0)