From 048ea1585b4e1b89ef1f547844869ef9a74accd8 Mon Sep 17 00:00:00 2001
From: log
Date: Thu, 09 Jul 2026 18:36:34 +0800
Subject: [PATCH] fix: abort akshare history after repeated failures

---
 a_stock_manager.py |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/a_stock_manager.py b/a_stock_manager.py
index ae2e11e..1bd8faa 100644
--- a/a_stock_manager.py
+++ b/a_stock_manager.py
@@ -192,14 +192,10 @@
         result = subprocess.run(
             [sys.executable, str(script_path)],
             cwd=project_root,
-            capture_output=True,
+            capture_output=False,
             text=True
         )
-        if result.stdout:
-            print(result.stdout)
-        if result.stderr:
-            print_error(result.stderr)
-        
+
         if return_result:
             result_file = project_root / 'logs' / 'script_result.json'
             if result_file.exists():

--
Gitblit v1.8.0