diff options
-rw-r--r-- | python/fatcat_web/search.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py index 87d07e55..0fce6454 100644 --- a/python/fatcat_web/search.py +++ b/python/fatcat_web/search.py @@ -131,7 +131,7 @@ def get_elastic_entity_stats(): 'sum', field='ref_count', ) - search = search[:0] + search = search[:0] # pylint: disable=unsubscriptable-object # NOTE: not catching exceptions resp = search.execute() @@ -190,7 +190,7 @@ def get_elastic_entity_stats(): 'sum', field='ref_count', ) - search = search[:0] + search = search[:0] # pylint: disable=unsubscriptable-object # NOTE: not catching exceptions resp = search.execute() |