summaryrefslogtreecommitdiff
path: root/searx/search.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-10-07 10:12:10 +0200
committerGitHub <noreply@github.com>2020-10-07 10:12:10 +0200
commit474d56c77f4c8bbd3d03f6feec0d2a13dcd41d40 (patch)
tree2b644c0da9f09a6d6378f5fc9f27f82f1e5bc24f /searx/search.py
parent66bda238955bc899a70c688b746aafaf56813f32 (diff)
parentd5950079cfef58f1877787ed1ed946284116fe35 (diff)
Merge pull request #2248 from dalf/fix-webadapter
[fix] various fixes of searx.webadapter
Diffstat (limited to 'searx/search.py')
-rw-r--r--searx/search.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/search.py b/searx/search.py
index 3dfdd7213..76291a69c 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -72,11 +72,11 @@ class SearchQuery:
engineref_list: typing.List[EngineRef],
categories: typing.List[str],
lang: str,
- safesearch: bool,
+ safesearch: int,
pageno: int,
time_range: typing.Optional[str],
timeout_limit: typing.Optional[float]=None,
- external_bang: typing.Optional[str]=False):
+ external_bang: typing.Optional[str]=None):
self.query = query
self.engineref_list = engineref_list
self.categories = categories