Skip to content

Commit

Permalink
Merge branch 'pod_V4' of https://github.com/EsupPortail/Esup-Pod into…
Browse files Browse the repository at this point in the history
… pod_V4
  • Loading branch information
Badatos committed Dec 5, 2024
2 parents 12d0c3f + 4853cdd commit e62575b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pod/video_search/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e62575b

Please sign in to comment.