refactoring
This commit is contained in:
parent
230ed14f69
commit
20268f2e3d
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user