Browse Source

Don't override embedded secrets in config

add-file-preservation 1.1.2
Drew Short 5 years ago
parent
commit
1ccab73b65
  1. 2
      .gitignore
  2. 4
      acm.py

2
.gitignore

@ -1,3 +1,5 @@
.idea/
venv/ venv/
l_venv/ l_venv/

4
acm.py

@ -221,10 +221,6 @@ def load_config(path: str) -> any:
with open(path, 'r') as config_file: with open(path, 'r') as config_file:
config = json.load(config_file) config = json.load(config_file)
# Setup S3 Settings
config['s3']['access'] = os.getenv('ACM_S3_ACCESS')
config['s3']['secret'] = os.getenv('ACM_S3_SECRET')
# Setup concurrency # Setup concurrency
if 'concurrency' in config: if 'concurrency' in config:
config['concurrency'] = abs(int(config['concurrency'])) config['concurrency'] = abs(int(config['concurrency']))

Loading…
Cancel
Save