summaryrefslogtreecommitdiff
path: root/searx/answerers/statistics/answerer.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/answerers/statistics/answerer.py')
-rw-r--r--searx/answerers/statistics/answerer.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/searx/answerers/statistics/answerer.py b/searx/answerers/statistics/answerer.py
index 73dd25cfd..cfd1b3e23 100644
--- a/searx/answerers/statistics/answerer.py
+++ b/searx/answerers/statistics/answerer.py
@@ -1,11 +1,8 @@
-from sys import version_info
from functools import reduce
from operator import mul
from flask_babel import gettext
-if version_info[0] == 3:
- unicode = str
keywords = ('min',
'max',
@@ -44,7 +41,7 @@ def answer(query):
if answer is None:
return []
- return [{'answer': unicode(answer)}]
+ return [{'answer': str(answer)}]
# required answerer function