fix: 批量修复scripts/*.py中所有Path(__file__).parent/'data'路径错误—统一指向MoFin/data/
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user