logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: 5f8ae9b9654f4a6c92e0e28d60fdb82e20ac5e34
parent: fd651083f2521d0ba3af9dbf50862ed5a9f19f63
Author: asciimoo <asciimoo@gmail.com>
Date:   Sat, 15 Feb 2014 07:28:21 +0100

[fix] unicode url fix

Diffstat:

searx/webapp.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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']