diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-06 17:44:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 17:44:34 +0100 |
commit | 1196abcfce569191bf56553983759b1ce3e7f234 (patch) | |
tree | a1fde9cb809a753c2e9ea2526d1a4d65dbaa52fd /searx | |
parent | 5305ff8cb6ab8774381a6ff98eb1cb142d625704 (diff) | |
parent | 61935c72efa3c164184cecccc7cdc5713a93d654 (diff) | |
download | searxng-1196abcfce569191bf56553983759b1ce3e7f234.tar.gz searxng-1196abcfce569191bf56553983759b1ce3e7f234.zip |
Merge pull request #706 from not-my-profile/remove-broken-quest-op
[fix] remove broken ? search operator
Diffstat (limited to 'searx')
-rw-r--r-- | searx/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/query.py b/searx/query.py index 5d2d9de26..f5f628823 100644 --- a/searx/query.py +++ b/searx/query.py @@ -177,7 +177,7 @@ class ExternalBangParser(QueryPartParser): class BangParser(QueryPartParser): @staticmethod def check(raw_value): - return raw_value[0] == '!' or raw_value[0] == '?' + return raw_value[0] == '!' def __call__(self, raw_value): value = raw_value[1:].replace('-', ' ').replace('_', ' ') |