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,6 +33,7 @@ if sys.version_info[0] == 3:
33 33
     unichr = chr
34 34
     unicode = str
35 35
     IS_PY2 = False
36
+    basestring = str
36 37
 else:
37 38
     IS_PY2 = True
38 39