add dotenv_path="/mnt/khl/.env"

This commit is contained in:
2025-11-10 14:41:02 +03:00
parent 17b1c9de8b
commit 78e28eaa92

View File

@@ -25,7 +25,7 @@ _stop_event = Event()
_worker_thread: Thread | None = None
# Загружаем переменные из .env
load_dotenv()
load_dotenv(dotenv_path="/mnt/khl/.env")
api_user = os.getenv("API_USER")
api_pass = os.getenv("API_PASS")
league = os.getenv("LEAGUE")