From a8d75f256d92da3a05a4f8d080f3d518f4a2b12e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 1 Jun 2021 02:20:13 -0700 Subject: lint fixes, and run fmt --- fatcat_scholar/sandcrawler.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'fatcat_scholar/sandcrawler.py') 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: -- cgit v1.2.3