1
0
Fork 0
mirror of https://github.com/searxng/searxng.git synced 2025-03-09 06:01:27 +00:00

[fix] add basestring for py3

This commit is contained in:
Adam Tauber 2018-06-14 11:48:31 +02:00
parent a3b83b73cb
commit aef2b07969

View file

@ -33,6 +33,7 @@ if sys.version_info[0] == 3:
unichr = chr
unicode = str
IS_PY2 = False
basestring = str
else:
IS_PY2 = True