From 2442a911f0aaf1c57997811d307007b07e292b9d Mon Sep 17 00:00:00 2001 From: Jesse Mortenson Date: Wed, 31 Jul 2024 17:30:09 -0500 Subject: [PATCH] Allow GCP storage prefix to be modified by env var --- openstates/cli/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstates/cli/update.py b/openstates/cli/update.py index f8b80e4f..165aa313 100644 --- a/openstates/cli/update.py +++ b/openstates/cli/update.py @@ -32,7 +32,7 @@ # Settings to archive scraped out put to GCP Cloud Storage GCP_PROJECT = os.environ.get("GCP_PROJECT", None) BUCKET_NAME = os.environ.get("BUCKET_NAME", None) -SCRAPE_LAKE_PREFIX = "legislation" +SCRAPE_LAKE_PREFIX = os.environ.get("BUCKET_PREFIX", "legislation") class _Unset: