From ab6ffda435d39c9f3e998ca3949a9dc1396763ea Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 2 Nov 2022 19:06:08 +0800 Subject: [PATCH] perf: terminal status --- apps/terminal/models/component/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/terminal/models/component/status.py b/apps/terminal/models/component/status.py index 048bca103..1ecfc0e2a 100644 --- a/apps/terminal/models/component/status.py +++ b/apps/terminal/models/component/status.py @@ -42,7 +42,7 @@ class Status(models.Model): @classmethod def get_terminal_latest_status(cls, terminal): - from ..utils import ComputeStatUtil + from ...utils import ComputeStatUtil stat = cls.get_terminal_latest_stat(terminal) return ComputeStatUtil.compute_component_status(stat)