summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fatcat_scholar/query_fatcat.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/fatcat_scholar/query_fatcat.py b/fatcat_scholar/query_fatcat.py
index c2b28a0..c862bc0 100644
--- a/fatcat_scholar/query_fatcat.py
+++ b/fatcat_scholar/query_fatcat.py
@@ -44,9 +44,7 @@ def run_query_fatcat(query: str, fulltext_only: bool, json_output: Any) -> None:
"""
api_session = requests_retry_session()
- es_backend = os.environ.get(
- "ELASTICSEARCH_BACKEND", default="https://search.fatcat.wiki",
- )
+ es_backend = os.environ.get("ELASTICSEARCH_BACKEND", "https://search.fatcat.wiki")
es_index = "fatcat_release"
es_client = elasticsearch.Elasticsearch(es_backend)