[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):