diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-25 22:46:06 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-25 22:46:06 -0800 |
commit | eeac3b091cfa9937e7222253c650e21d0865eb79 (patch) | |
tree | 2f5aa4baaae8ce29812fc23e5ee071533b7c28b7 /fatcat_scholar/query_fatcat.py | |
parent | b9ad86071622b0e12cc5ff7fccc4e094785891fb (diff) | |
download | fatcat-scholar-eeac3b091cfa9937e7222253c650e21d0865eb79.tar.gz fatcat-scholar-eeac3b091cfa9937e7222253c650e21d0865eb79.zip |
make fmt
Diffstat (limited to 'fatcat_scholar/query_fatcat.py')
-rw-r--r-- | fatcat_scholar/query_fatcat.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fatcat_scholar/query_fatcat.py b/fatcat_scholar/query_fatcat.py index 0f5347b..24bd662 100644 --- a/fatcat_scholar/query_fatcat.py +++ b/fatcat_scholar/query_fatcat.py @@ -44,7 +44,9 @@ def run_query_fatcat(query: str, fulltext_only: bool, json_output: Any) -> None: """ api_session = requests_retry_session() - es_backend = os.environ.get("ELASTICSEARCH_FATCAT_BASE", "https://search.fatcat.wiki") + es_backend = os.environ.get( + "ELASTICSEARCH_FATCAT_BASE", "https://search.fatcat.wiki" + ) es_index = os.environ.get("ELASTICSEARCH_FATCAT_RELEASE_INDEX", "fatcat_release") es_client = elasticsearch.Elasticsearch(es_backend) |