From 60c396043f9044cb554d58d1f6b99a7d4c3d0907 Mon Sep 17 00:00:00 2001 From: Robert Valta Date: Thu, 7 May 2020 13:10:57 +0300 Subject: [PATCH] Rename env variable more explicitly --- hmt_escrow/job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hmt_escrow/job.py b/hmt_escrow/job.py index 173007ec..1b0ff7da 100644 --- a/hmt_escrow/job.py +++ b/hmt_escrow/job.py @@ -19,7 +19,7 @@ GAS_LIMIT = int(os.getenv("GAS_LIMIT", 4712388)) # Explicit env variable that will use s3 for storing results. -USE_S3_STORAGE = bool(os.getenv("USE_S3_STORAGE", False)) +USE_ESCROW_S3_STORAGE = bool(os.getenv("USE_ESCROW_S3_STORAGE", False)) LOG = logging.getLogger("hmt_escrow.job") Status = Enum('Status', 'Launched Pending Partial Paid Complete Cancelled') @@ -313,7 +313,7 @@ def __init__(self, self.gas_payer_priv = credentials["gas_payer_priv"] self.multi_credentials = self._validate_multi_credentials( multi_credentials) - self.use_s3_storage = USE_S3_STORAGE + self.use_s3_storage = USE_ESCROW_S3_STORAGE # Initialize a new Job. if not escrow_addr and escrow_manifest: