From 20268f2e3d59473ca2c8321cc46e6a054f64ffdb Mon Sep 17 00:00:00 2001 From: ndmg Date: Sat, 7 Nov 2026 17:28:49 +0000 Subject: [PATCH] refactoring --- utils/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/downloader.py b/utils/downloader.py index c3f41ee..dff64ec 100644 --- a/utils/downloader.py +++ b/utils/downloader.py @@ -8,7 +8,7 @@ from telethon import TelegramClient from ..core.config import PHOTOS_DIR -ENV_PATH = Path(__file__).resolve().parent / ".env" +ENV_PATH = Path(__file__).resolve().parent.parent / ".env" load_dotenv(ENV_PATH) API_ID = os.getenv("API_ID")