Simplify dotenv loading in constants.py by removing explicit path and override
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv(dotenv_path="../.env", override=True)
|
||||
load_dotenv()
|
||||
|
||||
LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO").upper()
|
||||
LOG_PATH = os.getenv("LOG_PATH", "/tmp/logs")
|
||||
|
||||
Reference in New Issue
Block a user