fixed self inflicted recursion

This commit is contained in:
Thomas Nahuel Rusiecki 2024-11-13 20:29:07 -03:00 committed by Cayo Puigdefabregas
parent 35d8611336
commit 1abbe4600a

View file

@ -96,11 +96,11 @@ class Device:
key__in=algos,
).values_list("value", flat=True)))
def get_properties(self):
def get_evidences(self):
if not self.uuids:
self.get_uuids()
self.properties = [SystemProperty(u) for u in self.uuids]
self.evidences = [Evidence(u) for u in self.uuids]
def get_last_evidence(self):
if self.last_evidence: