From 1ccab73b651f6022b2fe6121c9ad1099da72e1ac Mon Sep 17 00:00:00 2001 From: Drew Short Date: Mon, 20 Apr 2020 17:55:24 -0500 Subject: [PATCH] Don't override embedded secrets in config --- .gitignore | 4 +++- acm.py | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index bb8b487..1157c04 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ +.idea/ + venv/ l_venv/ -acm-config.json \ No newline at end of file +acm-config.json diff --git a/acm.py b/acm.py index ccc3e6f..c9e0105 100755 --- a/acm.py +++ b/acm.py @@ -221,10 +221,6 @@ def load_config(path: str) -> any: with open(path, 'r') as 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 if 'concurrency' in config: config['concurrency'] = abs(int(config['concurrency']))