summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index eb4240f44..b3b422dff 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -140,7 +140,8 @@ def index():
.strip().split())
if len(result['url']) > 74:
url_parts = result['url'][:35], result['url'][-35:]
- result['pretty_url'] = '{0}[...]{1}'.format(*url_parts)
+ print url_parts
+ result['pretty_url'] = u'{0}[...]{1}'.format(*url_parts)
else:
result['pretty_url'] = result['url']