fix
This commit is contained in:
parent
78de86c43a
commit
9d3ef0d144
|
@ -92,7 +92,7 @@ class Evidence:
|
||||||
self.inxi = ev["output"]
|
self.inxi = ev["output"]
|
||||||
else:
|
else:
|
||||||
dmidecode_raw = self.doc["data"]["dmidecode"]
|
dmidecode_raw = self.doc["data"]["dmidecode"]
|
||||||
inxi_raw = self.doc["data"]["inxi"]
|
inxi_raw = self.doc["data"].get("inxi")
|
||||||
self.dmi = DMIParse(dmidecode_raw)
|
self.dmi = DMIParse(dmidecode_raw)
|
||||||
try:
|
try:
|
||||||
self.inxi = json.loads(inxi_raw)
|
self.inxi = json.loads(inxi_raw)
|
||||||
|
|
Loading…
Reference in a new issue