From f16028775030d06701e81e1f60c3f69d7189c2ad Mon Sep 17 00:00:00 2001 From: "majiahui@haimaqingfan.com" Date: Thu, 20 Mar 2025 10:52:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E6=95=B0=E6=8E=A7=E5=88=B6=E6=94=B9?= =?UTF-8?q?=E5=8A=A8=EF=BC=8C=E5=A2=9E=E5=8A=A0=E6=8D=A2=E8=A1=8C=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flask_drop_rewrite_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_drop_rewrite_request.py b/flask_drop_rewrite_request.py index 5a9ba67..6e51dbc 100644 --- a/flask_drop_rewrite_request.py +++ b/flask_drop_rewrite_request.py @@ -524,7 +524,7 @@ def english_ulit(sentence): def chinese_ulit(sentence): max_length = 25 - sentence = str(sentence).strip() + sentence = str(sentence).strip().strip("\n") if_change = True # 判断句子长度 if len(sentence) > 9: