summaryrefslogtreecommitdiff
path: root/searx/answerers/random
diff options
context:
space:
mode:
authorMarc Abonce Seguin <marc-abonce@mailbox.org>2019-07-27 22:53:46 -0700
committerMarc Abonce Seguin <marc-abonce@mailbox.org>2019-07-27 22:53:46 -0700
commit59b1370824f7947a4450f540476d4a06d9abb58d (patch)
treeeb87cb175ab53cd0199558e8dcd63bf4a60c4f40 /searx/answerers/random
parent204a2cbbf0618d1d8b7d4c52878e43afe4e92444 (diff)
downloadsearxng-59b1370824f7947a4450f540476d4a06d9abb58d.tar.gz
searxng-59b1370824f7947a4450f540476d4a06d9abb58d.zip
[fix] small fixes in preferences view's text
Diffstat (limited to 'searx/answerers/random')
-rw-r--r--searx/answerers/random/answerer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/answerers/random/answerer.py b/searx/answerers/random/answerer.py
index b6e8422ad..2dfb08804 100644
--- a/searx/answerers/random/answerer.py
+++ b/searx/answerers/random/answerer.py
@@ -70,4 +70,4 @@ def answer(query):
def self_info():
return {'name': gettext('Random value generator'),
'description': gettext('Generate different random values'),
- 'examples': [u'random {}'.format(x) for x in random_types]}
+ 'examples': [u'random {}'.format(x.decode('utf-8')) for x in random_types]}