From 995526ec57ca92b965e0b918456bb0625eb7ef26 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 10 Jul 2025 15:27:21 +0800 Subject: [PATCH] fix --- src-tauri/src/commands/ai_video.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/commands/ai_video.rs b/src-tauri/src/commands/ai_video.rs index ce1cbfa..8d461aa 100644 --- a/src-tauri/src/commands/ai_video.rs +++ b/src-tauri/src/commands/ai_video.rs @@ -105,6 +105,7 @@ async fn execute_python_command(_app: tauri::AppHandle, args: &[String]) -> Resu } } else if line.trim().starts_with('{') && line.trim().ends_with('}') { // Fallback: try to parse as direct JSON result + println!("Python json rpc: {}", line); if let Ok(json_value) = serde_json::from_str::(line.trim()) { // Check if this looks like a final result (has status field) if json_value.get("status").is_some() {