From 1d6dcf9fb5da88dc69e2a0f93b526b1738b87c4f Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Tue, 15 Feb 2022 18:14:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E6=8A=A5=E8=AD=A6=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/notifications.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/terminal/notifications.py b/apps/terminal/notifications.py index 8aa7ef0b5..e43a782e7 100644 --- a/apps/terminal/notifications.py +++ b/apps/terminal/notifications.py @@ -1,7 +1,6 @@ from typing import Callable -import textwrap -from django.utils.translation import gettext_lazy as _ +from django.utils.translation import ugettext_lazy as _ from django.conf import settings from django.template.loader import render_to_string @@ -11,7 +10,6 @@ from notifications.notifications import SystemMessage from terminal.models import Session, Command from notifications.models import SystemMsgSubscription from notifications.backends import BACKEND -from orgs.utils import tmp_to_root_org from common.utils import lazyproperty from common.utils.timezone import local_now_display