fix: 批量修复scripts/*.py中所有Path(__file__).parent/'data'路径错误—统一指向MoFin/data/

This commit is contained in:
知微
2026-07-08 12:37:36 +08:00
parent 258b8871ef
commit b5c4302b5e
16 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ try:
except ImportError:
HAS_AKSHARE = False
DATA_DIR = Path(__file__).parent / "data"
DATA_DIR = Path(__file__).parent.parent / "data"
DB_PATH = DATA_DIR / "mofin.db"
XIAOGUO_API = "http://node122:18003/v1/chat/completions" # fallback, /etc/hosts resolves to LAN or EasyTier