fix {'part_id': ['This field may not be null.']} error #78

Merged
Solvik merged 1 commit from fix_memory into master 2019-09-11 14:22:33 +02:00

View file

@ -125,7 +125,7 @@ class LSHW():
d["description"] = dimm.get("description")
d["id"] = dimm.get("id")
d["serial"] = dimm.get("serial", 'N/A')
d["vendor"] = dimm.get("vendor")
d["vendor"] = dimm.get("vendor", 'N/A')
d["product"] = dimm.get("product")
d["size"] = dimm.get("size", 0) / 2 ** 20 / 1024