mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[fix] never pass bangs to autocomplete suggestions
This commit is contained in:
@@ -16,6 +16,7 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >.
|
||||
'''
|
||||
|
||||
|
||||
import sys
|
||||
from lxml import etree
|
||||
from json import loads
|
||||
from searx import settings
|
||||
@@ -26,6 +27,9 @@ from searx.engines import (
|
||||
from searx.poolrequests import get as http_get
|
||||
from searx.url_utils import urlencode
|
||||
|
||||
if sys.version_info[0] == 3:
|
||||
unicode = str
|
||||
|
||||
|
||||
def get(*args, **kwargs):
|
||||
if 'timeout' not in kwargs:
|
||||
|
||||
Reference in New Issue
Block a user