We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f53c7da commit ce35585Copy full SHA for ce35585
oc4ids_datastore_pipeline/__init__.py
@@ -15,7 +15,7 @@
15
16
APP_ENV = os.environ.get("APP_ENV", "local")
17
logger.info(f"Loading {APP_ENV} environment variables")
18
-load_dotenv(find_dotenv(f".env.{APP_ENV}"))
+load_dotenv(find_dotenv(f".env.{APP_ENV}", usecwd=True))
19
20
logger.info(os.environ.get("BUCKET_REGION"))
21
logger.info(os.environ.get("BUCKET_NAME"))
0 commit comments