From 34f6671259b4a2be850fa74a11b38220aa4400de Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 15 Oct 2010 13:24:18 +0200 Subject: mahou_showtime: Fixed encoding. --- modules/mahou_showtime.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/mahou_showtime.py b/modules/mahou_showtime.py index 60bae97..31dcc94 100644 --- a/modules/mahou_showtime.py +++ b/modules/mahou_showtime.py @@ -38,7 +38,8 @@ class Module: channel = tds[3].text airtime = tds[5].text eta = tds[6].text - return '%s airs on %s at %s (eta: %s)' % (title, channel, airtime, eta) + s = '%s airs on %s at %s (eta: %s)' % (title, channel, airtime, eta) + return s.encode('utf8') return 'No match found.' def keyword(self, nick, channel, kw, msg): -- cgit v1.2.3