diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-05-17 21:04:42 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-05-17 21:04:42 -0700 |
commit | 84412e78ee7187a1be36a9058284084c231a0357 (patch) | |
tree | ad738f1548e0664202f94f8dfd9c31ec05329a06 /fatcat_scholar | |
parent | f767a344c1ed7722b79710c6f3c61d5802f78860 (diff) | |
download | fatcat-scholar-84412e78ee7187a1be36a9058284084c231a0357.tar.gz fatcat-scholar-84412e78ee7187a1be36a9058284084c231a0357.zip |
make fmt
Diffstat (limited to 'fatcat_scholar')
-rw-r--r-- | fatcat_scholar/search.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py index b9ede1d..f5056c7 100644 --- a/fatcat_scholar/search.py +++ b/fatcat_scholar/search.py @@ -338,7 +338,10 @@ def do_fulltext_search( # simplified version of basic_fulltext query, for highlighting highlight_query = Q( - "query_string", query=query.parsed_q or query.q, default_operator="AND", lenient=True, + "query_string", + query=query.parsed_q or query.q, + default_operator="AND", + lenient=True, ) search = search.highlight( "abstracts.body", |