Add missing N/A fallback on DIMM memory

This commit is contained in:
Cyril Levis 2020-06-08 13:03:25 +02:00
parent 28fc87c9e2
commit d9982a29c1
No known key found for this signature in database
GPG key ID: 3C3B055FAE48AF0C

View file

@ -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)