fix get_hid

This commit is contained in:
Cayo Puigdefabregas 2024-11-20 18:41:59 +01:00 committed by sergio-gimenez
parent 380eeaee55
commit 32237e1da1

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 ""