aboutsummaryrefslogtreecommitdiffstats
path: root/obfuscator
diff options
context:
space:
mode:
Diffstat (limited to 'obfuscator')
-rw-r--r--obfuscator/csv_reader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/obfuscator/csv_reader.py b/obfuscator/csv_reader.py
index 8f4ebea..cd0da0a 100644
--- a/obfuscator/csv_reader.py
+++ b/obfuscator/csv_reader.py
@@ -53,8 +53,8 @@ class CSVReader:
bucket, key = get_s3_path(path)
logger.debug(f"Reading S3 CSV from: {bucket}/{key}")
- # If DEBUG=TRUE, use the localstack endpoint for testing
- if os.getenv("DEBUG", "FALSE").upper() == "TRUE":
+ # If LOCALSTACK=TRUE, use the localstack endpoint for testing
+ if os.getenv("LOCALSTACK", "FALSE").upper() == "TRUE":
localstack_endpoint = "http://localhost.localstack.cloud:4566"
logger.debug("Using LocalStack endpoint for S3")
client = boto3.client(
git.ajschof.me — hosted by ajschofield — powered by cgit