diff --git a/evidence/models.py b/evidence/models.py index a10de01..3a2336b 100644 --- a/evidence/models.py +++ b/evidence/models.py @@ -92,7 +92,7 @@ class Evidence: self.inxi = ev["output"] else: dmidecode_raw = self.doc["data"]["dmidecode"] - inxi_raw = self.doc["data"]["inxi"] + inxi_raw = self.doc["data"].get("inxi") self.dmi = DMIParse(dmidecode_raw) try: self.inxi = json.loads(inxi_raw)