mirror of
https://github.com/searx/searx
synced 2025-08-30 14:08:47 +00:00
[fix] add basestring for py3
This commit is contained in:
@@ -33,6 +33,7 @@ if sys.version_info[0] == 3:
|
||||
unichr = chr
|
||||
unicode = str
|
||||
IS_PY2 = False
|
||||
basestring = str
|
||||
else:
|
||||
IS_PY2 = True
|
||||
|
||||
|
Reference in New Issue
Block a user