Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] add basestring for py3

Adam Tauberaef2b07969bd
diff --git a/searx/utils.py b/searx/utils.py
index 77c392909..1ec45ed6e 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