summaryrefslogtreecommitdiff
path: root/searx/search
diff options
context:
space:
mode:
Diffstat (limited to 'searx/search')
-rw-r--r--searx/search/__init__.py2
-rw-r--r--searx/search/processors/abstract.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/search/__init__.py b/searx/search/__init__.py
index e790bd05e..c517814de 100644
--- a/searx/search/__init__.py
+++ b/searx/search/__init__.py
@@ -133,7 +133,7 @@ class Search:
def search_multiple_requests(self, requests):
# pylint: disable=protected-access
- search_id = uuid4().__str__()
+ search_id = str(uuid4())
for engine_name, query, request_params in requests:
th = threading.Thread( # pylint: disable=invalid-name
diff --git a/searx/search/processors/abstract.py b/searx/search/processors/abstract.py
index b7703496b..d4822fc56 100644
--- a/searx/search/processors/abstract.py
+++ b/searx/search/processors/abstract.py
@@ -170,5 +170,5 @@ class EngineProcessor(ABC):
tests.update(self.get_default_tests())
return tests
- def get_default_tests(self): # pylint: disable=no-self-use
+ def get_default_tests(self):
return {}