From d798ee172294de09ab1621530df4e3498a17640e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 23 Jul 2020 15:02:27 -0700 Subject: small lint fixes --- python/fatcat_web/search.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'python/fatcat_web') diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py index ca270110..1165a004 100644 --- a/python/fatcat_web/search.py +++ b/python/fatcat_web/search.py @@ -9,7 +9,6 @@ import datetime from dataclasses import dataclass from typing import List, Optional, Any -from flask import abort, flash import elasticsearch from elasticsearch_dsl import Search, Q import elasticsearch_dsl.response @@ -43,7 +42,7 @@ class ReleaseQuery: offset = max(0, int(offset)) if offset.isnumeric() else 0 return ReleaseQuery( - q=query_str, + q=query_str, offset=offset, fulltext_only=bool(args.get('fulltext_only')), container_id=container_id, -- cgit v1.2.3