From 4853cdd6d3bd30024d659328ee8da6ba4139e368 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 5 Dec 2024 15:30:21 +0000 Subject: [PATCH] Fixup. Format code with Black --- pod/video_search/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pod/video_search/utils.py b/pod/video_search/utils.py index 5ef4e01593..257517d286 100644 --- a/pod/video_search/utils.py +++ b/pod/video_search/utils.py @@ -88,9 +88,7 @@ def create_index_es(): template_file = "pod/video_search/search_template_fr.json" es_template = json.load(open(template_file)) try: - create = es.indices.create( - index=ES_INDEX, body=es_template - ) # ignore=[400, 404] + create = es.indices.create(index=ES_INDEX, body=es_template) # ignore=[400, 404] logger.info(create) return create except TransportError as e: