mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-18 08:02:49 +01:00
Merge pull request #319 from Hoaas/master
Fixes UnicodeEncodeError in Google Calc
This commit is contained in:
commit
766641e8ea
@ -351,7 +351,7 @@ class Google(callbacks.PluginRegexp):
|
||||
js = simplejson.loads(js)
|
||||
|
||||
if js['error'] == '':
|
||||
irc.reply("%s = %s" % (js['lhs'], js['rhs'],))
|
||||
irc.reply("%s = %s" % (js['lhs'].encode('utf8'), js['rhs'].encode('utf8'),))
|
||||
return
|
||||
|
||||
url = self._googleUrl(expr)
|
||||
|
Loading…
Reference in New Issue
Block a user