Add missing N/A fallback on DIMM memory (#129)
This commit is contained in:
parent
9dedbea47a
commit
41f0b04d00
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class LSHW():
|
|||
d["id"] = dimm.get("id")
|
||||
d["serial"] = dimm.get("serial", 'N/A')
|
||||
d["vendor"] = dimm.get("vendor", 'N/A')
|
||||
d["product"] = dimm.get("product")
|
||||
d["product"] = dimm.get("product", 'N/A')
|
||||
d["size"] = dimm.get("size", 0) / 2 ** 20 / 1024
|
||||
|
||||
self.memories.append(d)
|
||||
|
|
Loading…
Reference in a new issue