From eeac3b091cfa9937e7222253c650e21d0865eb79 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 25 Jan 2021 22:46:06 -0800 Subject: make fmt --- fatcat_scholar/query_citation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fatcat_scholar/query_citation.py') diff --git a/fatcat_scholar/query_citation.py b/fatcat_scholar/query_citation.py index 21f4a9c..4f40c73 100644 --- a/fatcat_scholar/query_citation.py +++ b/fatcat_scholar/query_citation.py @@ -188,7 +188,9 @@ if __name__ == "__main__": release = ref_to_release(ref) print(release) - 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_client = elasticsearch.Elasticsearch(es_backend) api_conf = fatcat_openapi_client.Configuration() api_conf.host = os.environ.get("FATCAT_API_HOST", "https://api.fatcat.wiki/v0") -- cgit v1.2.3