fix get_hid

This commit is contained in:
Cayo Puigdefabregas 2024-11-20 18:41:59 +01:00
parent 989120bd0a
commit 1902647337

View file

@ -168,7 +168,7 @@ class Build:
def get_hid(self, snapshot): def get_hid(self, snapshot):
try: try:
self.inxi = json.loads(self.json["inxi"]) self.inxi = json.loads(self.json["data"]["inxi"])
except Exception: except Exception:
logger.error("No inxi in snapshot %s", self.uuid) logger.error("No inxi in snapshot %s", self.uuid)
return "" return ""