refactor: Clean up unused variables and improve code readability

This commit is contained in:
晴猫
2025-05-01 07:24:52 +09:00
parent e4959f0386
commit 45c64208b4
13 changed files with 9 additions and 29 deletions

View File

@@ -137,7 +137,6 @@ class PersonInfoManager:
@staticmethod
def _extract_json_from_text(text: str) -> dict:
"""从文本中提取JSON数据的高容错方法"""
parsed_json = None
try:
# 尝试直接解析
parsed_json = json.loads(text)