From 9d3ef0d144f0a953b0f2da7554731e7c0d3c5936 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 18 Dec 2024 10:18:10 +0100 Subject: [PATCH] fix --- evidence/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)