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] == ']':