on master help sign in
[fix] use py2/3 compatibility layer
36af8f9Adam Tauber
searx/autocomplete.py+1−5
@@ -24,11 +24,7 @@ from searx.engines import (
24 categories, engines, engine_shortcuts
24 categories, engines, engine_shortcuts
25)
25)
26from searx.poolrequests import get as http_get
26from searx.poolrequests import get as http_get
27−
28−try:
29− from urllib import urlencode
30−except:
31− from urllib.parse import urlencode
27+from searx.url_utils import urlencode
32
28
33
29
34def get(*args, **kwargs):
30def get(*args, **kwargs):