diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-18 14:33:45 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-18 14:33:45 -0800 |
commit | ca11f5f79fe520b7b963d2a1263fe58523e211fd (patch) | |
tree | 58c16e8cff26c9dbbe0b8b43502b7bce7c980f25 /fatcat_scholar/search.py | |
parent | 3561dd54daadbcc4f076c699b87654b921d81c36 (diff) | |
download | fatcat-scholar-ca11f5f79fe520b7b963d2a1263fe58523e211fd.tar.gz fatcat-scholar-ca11f5f79fe520b7b963d2a1263fe58523e211fd.zip |
lint: fix small bugs and type annotations
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r-- | fatcat_scholar/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py index e586bee..9bc5699 100644 --- a/fatcat_scholar/search.py +++ b/fatcat_scholar/search.py @@ -133,7 +133,7 @@ def transform_es_results(resp: Response) -> List[dict]: # add ScholarDoc object as a helper (eg, to call python helpers) try: h["_obj"] = ScholarDoc.parse_obj(h) - except: + except Exception: pass return results |