fix {'part_id': ['This field may not be null.']} error (#78)
This commit is contained in:
parent
8c25ab483d
commit
458d1f83c2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue