Skip to content

Commit

Permalink
Rename env variable more explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
rbval committed May 7, 2020
1 parent 274345a commit 60c3960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hmt_escrow/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 60c3960

Please sign in to comment.