fix hid in details of device
This commit is contained in:
parent
c422eaddeb
commit
d8b6d3ded6
|
@ -90,9 +90,11 @@ class Device:
|
||||||
def get_hids(self):
|
def get_hids(self):
|
||||||
annotations = self.get_annotations()
|
annotations = self.get_annotations()
|
||||||
|
|
||||||
|
algos = list(ALGOS.keys())
|
||||||
|
algos.append('CUSTOM_ID')
|
||||||
self.hids = list(set(annotations.filter(
|
self.hids = list(set(annotations.filter(
|
||||||
type=Annotation.Type.SYSTEM,
|
type=Annotation.Type.SYSTEM,
|
||||||
key__in=ALGOS.keys(),
|
key__in=algos,
|
||||||
).values_list("value", flat=True)))
|
).values_list("value", flat=True)))
|
||||||
|
|
||||||
def get_evidences(self):
|
def get_evidences(self):
|
||||||
|
|
Loading…
Reference in New Issue