From cd3cc62004bd5dc36ba75004bce07f3611896fbb Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 16 Oct 2024 17:40:00 +0200 Subject: [PATCH] fix hid in details of device --- device/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/device/models.py b/device/models.py index 6169f2e..1f43476 100644 --- a/device/models.py +++ b/device/models.py @@ -90,9 +90,11 @@ class Device: def get_hids(self): annotations = self.get_annotations() + algos = list(ALGOS.keys()) + algos.append('CUSTOM_ID') self.hids = list(set(annotations.filter( type=Annotation.Type.SYSTEM, - key__in=ALGOS.keys(), + key__in=algos, ).values_list("value", flat=True))) def get_evidences(self):