From 0adc854721df0515767d695783464ead87583620 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Thu, 11 Apr 2024 18:32:00 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=AE=A1=E8=AE=A1?= =?UTF-8?q?=E5=8F=B0=E5=91=BD=E4=BB=A4=E8=AE=B0=E5=BD=95=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=20(#12998)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: feng <1304903146@qq.com> --- apps/jumpserver/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/jumpserver/api.py b/apps/jumpserver/api.py index 81cde8ea0..6b5d162e5 100644 --- a/apps/jumpserver/api.py +++ b/apps/jumpserver/api.py @@ -250,12 +250,12 @@ class DatesLoginMetricMixin: @lazyproperty def commands_amount(self): - total_amount, _ = self.command_statistics + total_amount, __ = self.command_statistics return total_amount @lazyproperty def commands_danger_amount(self): - _, danger_amount = self.command_statistics + __, danger_amount = self.command_statistics return danger_amount @lazyproperty