Forgot to utf-8 encode the URL from a Google search

This commit is contained in:
James Vega 2008-10-17 21:27:36 +00:00
parent 6cfde5bcc9
commit f772fbf284
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Google(callbacks.PluginRegexp):
for result in data:
title = utils.web.htmlToText(result['titleNoFormatting']\
.encode('utf-8'))
url = result['unescapedUrl']
url = result['unescapedUrl'].encode('utf-8')
if title:
if bold:
title = ircutils.bold(title)