forked from Ponysearch/Ponysearch
[fix] add basestring for py3
This commit is contained in:
parent
a3b83b73cb
commit
aef2b07969
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ if sys.version_info[0] == 3:
|
|||
unichr = chr
|
||||
unicode = str
|
||||
IS_PY2 = False
|
||||
basestring = str
|
||||
else:
|
||||
IS_PY2 = True
|
||||
|
||||
|
|
Loading…
Reference in a new issue