Compare commits

..
1 Commits
Author SHA1 Message Date
hz4th_coder 4352b81c20 修复语法错误:Python try语句格式 2026-07-13 23:03:53 +08:00
+1 -1
View File
@@ -85,7 +85,7 @@ class SearchService:
return results
# 3. 解析 JSON 提取搜索结果
try {
try:
data = json.loads(stdout)
except json.JSONDecodeError:
print(f"解析 JSON 失败: {stdout[:500]}")