From bfe922bed6ca6265ab0b867c962af51848907764 Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Wed, 13 Nov 2024 21:01:00 -0300 Subject: [PATCH] changed imports --- evidence/management/commands/reindex.py | 2 +- evidence/parse.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evidence/management/commands/reindex.py b/evidence/management/commands/reindex.py index c4238e9..af3e35d 100644 --- a/evidence/management/commands/reindex.py +++ b/evidence/management/commands/reindex.py @@ -5,7 +5,7 @@ import logging from django.core.management.base import BaseCommand from django.conf import settings -from utils.device import create_annotation, create_doc, create_index +from utils.device import create_property, create_doc, create_index from user.models import Institution from evidence.parse import Build diff --git a/evidence/parse.py b/evidence/parse.py index 5834e16..b9c16c8 100644 --- a/evidence/parse.py +++ b/evidence/parse.py @@ -6,7 +6,7 @@ from dmidecode import DMIParse from json_repair import repair_json from evidence.parse_details import get_lshw_child -from evidence.models import SystemProperty +from evidence.models import SystemProperty, Property from evidence.xapian import index from utils.constants import CHASSIS_DH