mirror of
https://github.com/searxng/searxng.git
synced 2024-11-19 02:40:11 +01:00
[fix] add basestring for py3
This commit is contained in:
parent
a3b83b73cb
commit
aef2b07969
@ -33,6 +33,7 @@ if sys.version_info[0] == 3:
|
|||||||
unichr = chr
|
unichr = chr
|
||||||
unicode = str
|
unicode = str
|
||||||
IS_PY2 = False
|
IS_PY2 = False
|
||||||
|
basestring = str
|
||||||
else:
|
else:
|
||||||
IS_PY2 = True
|
IS_PY2 = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user