From 1abbe4600ac57c4b37613c395cb295d0640f6196 Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Wed, 13 Nov 2024 20:29:07 -0300 Subject: [PATCH] fixed self inflicted recursion --- device/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device/models.py b/device/models.py index e1f3fbb..74c93d8 100644 --- a/device/models.py +++ b/device/models.py @@ -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: