From 73f6de438a553c20e7222a36621f66cebe79eac5 Mon Sep 17 00:00:00 2001 From: p5rqvkz4o <493566904@qq.com> Date: Thu, 15 May 2025 20:42:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E3=80=81=E5=A4=84=E7=90=86=E3=80=82=E8=A6=81=E6=B1=82=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E4=B8=AD=E5=AD=98=E5=9C=A8only=5Ftext?= =?UTF-8?q?=E8=A1=A8=EF=BC=88=E5=8F=AF=E8=87=AA=E8=A1=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=89=EF=BC=8C=E5=8D=B3=E5=8F=AA=E5=8C=85=E5=90=ABid?= =?UTF-8?q?=E5=92=8Ctext=E7=9A=84=E5=A4=84=E7=90=86=E5=90=8E=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code_Reticent/CallSign.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Code_Reticent/CallSign.py b/Code_Reticent/CallSign.py index ab2f53f..fc20b30 100644 --- a/Code_Reticent/CallSign.py +++ b/Code_Reticent/CallSign.py @@ -109,6 +109,8 @@ def extract_result(text): return json_str def parse_input(s): # 去掉最外层的大括号 + s = s.replace('\n','') + s = s.replace(' ','') s = s.strip('{}') # 去掉首尾的方括号 if len(s) >= 2 and s[0] == '[' and s[-1] == ']':