diff options
Diffstat (limited to 'searx/plugins/__init__.py')
-rw-r--r-- | searx/plugins/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py index 011d36260..46c1f8918 100644 --- a/searx/plugins/__init__.py +++ b/searx/plugins/__init__.py @@ -14,9 +14,12 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >. (C) 2015 by Adam Tauber, <asciimoo@gmail.com> ''' -from sys import exit +from sys import exit, version_info from searx import logger +if version_info[0] == 3: + unicode = str + logger = logger.getChild('plugins') from searx.plugins import (doai_rewrite, |