задача
This commit is contained in:
1 parent
70022c0081
commit
da2814be7a
8 files changed
+1
-1
No files matched your search
@@ -10,7 +10,7 @@ try:
|
|||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
# Ищем .env файл в текущей директории
|
# Ищем .env файл в текущей директории
|
||||||
env_path = Path('.') / '.env'
|
env_path = Path('..') / '.env'
|
||||||
if env_path.exists():
|
if env_path.exists():
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
logging.info("Загружен .env файл")
|
logging.info("Загружен .env файл")
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user