diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-06-01 02:20:13 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-06-02 00:38:51 -0700 |
commit | a8d75f256d92da3a05a4f8d080f3d518f4a2b12e (patch) | |
tree | a1d49985149a0f09e2d91e9c98d4e852d454273f /fatcat_scholar/sandcrawler.py | |
parent | 4a40c62f6616825342bb23d03b9c4b9eebfe809c (diff) | |
download | fatcat-scholar-a8d75f256d92da3a05a4f8d080f3d518f4a2b12e.tar.gz fatcat-scholar-a8d75f256d92da3a05a4f8d080f3d518f4a2b12e.zip |
lint fixes, and run fmt
Diffstat (limited to 'fatcat_scholar/sandcrawler.py')
-rw-r--r-- | fatcat_scholar/sandcrawler.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fatcat_scholar/sandcrawler.py b/fatcat_scholar/sandcrawler.py index 9b033b8..0501f8e 100644 --- a/fatcat_scholar/sandcrawler.py +++ b/fatcat_scholar/sandcrawler.py @@ -39,9 +39,7 @@ class SandcrawlerPostgrestClient: return None def get_crossref(self, doi: str) -> Optional[Dict[str, Any]]: - resp = requests.get( - self.api_url + "/crossref", params=dict(doi="eq." + doi) - ) + resp = requests.get(self.api_url + "/crossref", params=dict(doi="eq." + doi)) resp.raise_for_status() resp_json = resp.json() if resp_json: |