on master help sign in
[fix] use py2/3 compatibility layer
commit36af8f9d676ed28a619c18746e638dc5e2159585 authorAdam Tauber <asciimoo@gmail.com> dateMon 10 Jul 2017, 11:42 (9 years ago) parent80460be
1 file changed+1−5
searx/autocomplete.py+1−5
searx/autocomplete.py+1−5
@@ -24,11 +24,7 @@ from searx.engines import (
2424 categories, engines, engine_shortcuts
2525)
2626from 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
3228
3329
3430def get(*args, **kwargs):