diff --git a/src/config.py b/src/config.py index fe85332a..c064f0ad 100644 --- a/src/config.py +++ b/src/config.py @@ -217,7 +217,7 @@ def not_raises(func, *args, **kwargs): if ENABLE_HDX_EXPORTS: - HDX_SITE = os.environ.get("HDX_SITE") or config.getboolean( + HDX_SITE = os.environ.get("HDX_SITE") or config.get( "HDX", "HDX_SITE", fallback="demo" ) HDX_API_KEY = os.environ.get("HDX_API_KEY") or config.get(