mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
fix: update e2e script to include e2e env source
This commit is contained in:
@@ -21,7 +21,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
||||
# Load dotenv files
|
||||
env = environ.Env()
|
||||
env_file = os.path.join(BASE_DIR.parent, ".env")
|
||||
env_file = os.environ.get("PIKU_ENV_FILE", os.path.join(BASE_DIR.parent, ".env"))
|
||||
if os.path.exists(env_file):
|
||||
environ.Env.read_env(env_file, overwrite=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user