pycdn/db/__init__.py

7 lines
161 B
Python
Raw Permalink Normal View History

2023-04-06 23:58:56 +03:00
from dotenv import dotenv_values
from pathlib import Path # Python 3.6+ only
env_path = Path('.') / '.env.local'
config = dotenv_values(dotenv_path=env_path)