diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2018-06-14 11:48:31 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2018-06-14 11:48:31 +0200 |
| commit | aef2b07969bddb1697c340604d1e22cea8a696cc (patch) | |
| tree | 2dab648ab494e6b2b7e2d427765b505afea26d64 /searx | |
| parent | a3b83b73cbe5f8c04e6a3b04539c04e18c3c2fed (diff) | |
[fix] add basestring for py3
Diffstat (limited to 'searx')
| -rw-r--r-- | searx/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/utils.py b/searx/utils.py index 77c392909..1ec45ed6e 100644 --- a/searx/utils.py +++ b/searx/utils.py @@ -33,6 +33,7 @@ if sys.version_info[0] == 3: unichr = chr unicode = str IS_PY2 = False + basestring = str else: IS_PY2 = True |