задача
This commit is contained in:
parent
70022c0081
commit
da2814be7a
@ -10,7 +10,7 @@ try:
|
||||
from dotenv import load_dotenv
|
||||
|
||||
# Ищем .env файл в текущей директории
|
||||
env_path = Path('.') / '.env'
|
||||
env_path = Path('..') / '.env'
|
||||
if env_path.exists():
|
||||
load_dotenv()
|
||||
logging.info("Загружен .env файл")
|
||||
Loading…
Reference in New Issue
Block a user