From 067a70463e2ce0b43ba63e598ec1b0f2fc862040 Mon Sep 17 00:00:00 2001 From: xinwen Date: Wed, 16 Jun 2021 11:07:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=AB=98=E5=8D=B1=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E9=82=AE=E4=BB=B6=E6=94=B6=E4=B8=8D=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/terminal/notifications.py b/apps/terminal/notifications.py index fb70e3535..eac9c2f7d 100644 --- a/apps/terminal/notifications.py +++ b/apps/terminal/notifications.py @@ -83,7 +83,7 @@ class CommandAlertMessage(CommandAlertMixin, SystemMessage): 'command': input } - message = self._get_message(command) + message = self._get_message() return { 'subject': subject, @@ -134,7 +134,7 @@ class CommandExecutionAlert(CommandAlertMixin, SystemMessage): subject = _("Insecure Web Command Execution Alert: [%(name)s]") % { 'name': command['user'], } - message = self._get_message(command) + message = self._get_message() return { 'subject': subject,