mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Google: Fix UnicodeEncodeError in Calc.
This commit is contained in:
parent
99ad2d193e
commit
a1ab4b7ba0
@ -351,7 +351,7 @@ class Google(callbacks.PluginRegexp):
|
|||||||
js = simplejson.loads(js)
|
js = simplejson.loads(js)
|
||||||
|
|
||||||
if js['error'] == '':
|
if js['error'] == '':
|
||||||
irc.reply("%s = %s" % (js['lhs'], js['rhs'],))
|
irc.reply("%s = %s" % (js['lhs'].encode('utf8'), js['rhs'].encode('utf8'),))
|
||||||
return
|
return
|
||||||
|
|
||||||
url = self._googleUrl(expr)
|
url = self._googleUrl(expr)
|
||||||
|
Loading…
Reference in New Issue
Block a user