fix(signal_v1): load_dotenv Path depth — resolve web-ai/.env correctly
3 files had insufficient .parent count, resolving to signal_v1/.env instead of web-ai/.env (which is where the actual env file lives). Added one .parent each: - config.py: parent.parent → parent.parent.parent - analysis/macro.py: parent.parent.parent → parent.parent.parent.parent - services/telegram_bot/runner.py: parent.parent.parent.parent → +1 watchlist_manager.py was already correct. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@ from pathlib import Path
|
||||
from dotenv import load_dotenv
|
||||
|
||||
# .env 파일 로드
|
||||
load_dotenv(Path(__file__).parent.parent / ".env")
|
||||
load_dotenv(Path(__file__).parent.parent.parent / ".env")
|
||||
|
||||
class Config:
|
||||
# 1. 기본 설정
|
||||
|
||||
Reference in New Issue
Block a user