1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-13 00:10:09 +01:00

[fix] use py2/3 compatibility layer

This commit is contained in:
Adam Tauber 2017-07-10 11:42:44 +02:00
parent 80460be8f6
commit 36af8f9d67

View File

@ -24,11 +24,7 @@ from searx.engines import (
categories, engines, engine_shortcuts
)
from searx.poolrequests import get as http_get
try:
from urllib import urlencode
except:
from urllib.parse import urlencode
from searx.url_utils import urlencode
def get(*args, **kwargs):