From aef2b07969bddb1697c340604d1e22cea8a696cc Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Thu, 14 Jun 2018 11:48:31 +0200 Subject: [PATCH] [fix] add basestring for py3 --- searx/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/searx/utils.py b/searx/utils.py index 77c39290..1ec45ed6 100644 --- a/searx/utils.py +++ b/searx/utils.py @@ -33,6 +33,7 @@ if sys.version_info[0] == 3: unichr = chr unicode = str IS_PY2 = False + basestring = str else: IS_PY2 = True