Browse Source

[fix] add basestring for py3

Adam Tauber 6 years ago
parent
commit
aef2b07969
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      searx/utils.py

+ 1
- 0
searx/utils.py View File

33
     unichr = chr
33
     unichr = chr
34
     unicode = str
34
     unicode = str
35
     IS_PY2 = False
35
     IS_PY2 = False
36
+    basestring = str
36
 else:
37
 else:
37
     IS_PY2 = True
38
     IS_PY2 = True
38
 
39