From f7f6da589295a421327aa005044ae6cc39e0f0fd Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 28 Nov 2024 15:47:03 +0100 Subject: [PATCH] fix phid hash list --- evidence/parse.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/evidence/parse.py b/evidence/parse.py index 620d36d..61eb854 100644 --- a/evidence/parse.py +++ b/evidence/parse.py @@ -120,8 +120,7 @@ class Build: self.components = self.json.get("components", []) device = self.get_id_hw_dpp(self.device) - components = self.json.get(self.components) - components = sorted(components, key=lambda x: x.get("type")) + components = sorted(self.components, key=lambda x: x.get("type")) doc = [("computer", device)] for c in components: