From bee20e574656edaaf98f30799faf8daabeba7fc6 Mon Sep 17 00:00:00 2001
From: log
Date: Thu, 09 Jul 2026 18:44:32 +0800
Subject: [PATCH] fix: reuse akshare stock list for baostock history

---
 a_stock_manager.py |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/a_stock_manager.py b/a_stock_manager.py
index feef060..1bd8faa 100644
--- a/a_stock_manager.py
+++ b/a_stock_manager.py
@@ -9,6 +9,7 @@
 
 import sys
 import os
+os.system('')
 import subprocess
 import json
 from datetime import datetime
@@ -191,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