summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-10-15 13:24:18 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-10-15 13:24:18 +0200
commit34f6671259b4a2be850fa74a11b38220aa4400de (patch)
tree023e840256d7ec80d93e40b86523b81d23c2a9ca /modules
parentb4ed27646aedf17d1af314b32127d645eacd2a71 (diff)
mahou_showtime: Fixed encoding.
Diffstat (limited to 'modules')
-rw-r--r--modules/mahou_showtime.py3
1 files changed, 2 insertions, 1 deletions
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):