summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-01 18:35:17 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-01 18:35:17 -0700
commita6e515dfe8f07410e7c71fa826995e5172b19731 (patch)
tree9d11fb7455089634fca68efbbcb599a2e6ee1d27 /python/fatcat_web/search.py
parente9568d9d973df345966c71149757868cdf297179 (diff)
downloadfatcat-a6e515dfe8f07410e7c71fa826995e5172b19731.tar.gz
fatcat-a6e515dfe8f07410e7c71fa826995e5172b19731.zip
lint (flake8) web interface python files
Diffstat (limited to 'python/fatcat_web/search.py')
-rw-r--r--python/fatcat_web/search.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py
index c1246d22..4a87c735 100644
--- a/python/fatcat_web/search.py
+++ b/python/fatcat_web/search.py
@@ -66,7 +66,6 @@ def do_release_search(q, limit=30, fulltext_only=True, offset=0):
if len(q.split()) == 1 and q.startswith("10.") and q.count("/") >= 1:
q = 'doi:"{}"'.format(q)
-
if fulltext_only:
q += " in_web:true"
@@ -297,7 +296,7 @@ def get_elastic_container_random_releases(ident, limit=5):
def get_elastic_container_histogram(ident):
"""
- Fetches a stacked histogram of
+ Fetches a stacked histogram
Filters to the past 500 years (at most), or about 1000 values.