diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-10-23 00:39:02 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-10-23 00:39:02 -0700 |
commit | 00e99192e7f746d7739adfe031b72bd7b0fee1a6 (patch) | |
tree | a67b28b4d1883a419b2b82c03fe22f4364e8008f /fatcat_scholar/issue_db.py | |
parent | a7b053dac71d6a3978f3fa788364f4df68853604 (diff) | |
download | fatcat-scholar-00e99192e7f746d7739adfe031b72bd7b0fee1a6.tar.gz fatcat-scholar-00e99192e7f746d7739adfe031b72bd7b0fee1a6.zip |
fixes to issue_db tests
Diffstat (limited to 'fatcat_scholar/issue_db.py')
-rw-r--r-- | fatcat_scholar/issue_db.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fatcat_scholar/issue_db.py b/fatcat_scholar/issue_db.py index 466b95d..9839a60 100644 --- a/fatcat_scholar/issue_db.py +++ b/fatcat_scholar/issue_db.py @@ -425,9 +425,7 @@ def main() -> None: idb = IssueDB(args.db_file) api_conf = fatcat_openapi_client.Configuration() api_conf.host = settings.FATCAT_API_HOST - api = fatcat_openapi_client.DefaultApi( - fatcat_openapi_client.ApiClient(api_conf) - ) + api = fatcat_openapi_client.DefaultApi(fatcat_openapi_client.ApiClient(api_conf)) es_client = elasticsearch.Elasticsearch(settings.FATCAT_ELASTICSEARCH_BACKEND) if args.func == "load_pubs": |