diff options
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 5c7aba0..c49bd98 100644 --- a/fatcat_scholar/search.py +++ b/fatcat_scholar/search.py @@ -232,7 +232,7 @@ def process_query(query: FulltextQuery) -> FulltextHits: return do_fulltext_search(query) # try handling raw identifier queries - if len(query.q.strip().split()) == 1 and not '"' in query.q: + if len(query.q.strip().split()) == 1 and '"' not in query.q: doi = clean_doi(query.q) if doi: return do_lookup_query(f'doi:"{doi}"') |