commit: aef2b07969bddb1697c340604d1e22cea8a696cc parent: a3b83b73cbe5f8c04e6a3b04539c04e18c3c2fed Author: Adam Tauber <asciimoo@gmail.com> Date: Thu, 14 Jun 2018 11:48:31 +0200 [fix] add basestring for py3Diffstat:
M | searx/utils.py | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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