From d1c77e335c3ac91c62641feedfec28baa7b2d6ce Mon Sep 17 00:00:00 2001 From: Alec Date: Fri, 22 Nov 2024 18:23:01 -0600 Subject: [PATCH] fix indetation for flake8 --- resources/progress_to_es.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/progress_to_es.py b/resources/progress_to_es.py index 30fd159..b805f00 100644 --- a/resources/progress_to_es.py +++ b/resources/progress_to_es.py @@ -213,10 +213,12 @@ def main(): logging.basicConfig(level=getattr(logging, args.log_level.upper()), format='%(asctime)s %(levelname)s %(name)s : %(message)s') - es_api = ClientCredentialsAuth(address=config['ES_ADDRESS'], - token_url=args.token_url, - client_secret=args.es_client_secret, - client_id=args.es_client_id) + es_api = ClientCredentialsAuth( + address=config['ES_ADDRESS'], + token_url=args.token_url, + client_secret=args.es_client_secret, + client_id=args.es_client_id + ) es_token = es_api.make_access_token() if args.from_file: