summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-02-15 23:37:09 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2011-02-15 23:37:09 +0100
commitd164f881c4ab8c5a1ff0df5e3e9df665da2a83d2 (patch)
treef7cfdb630094fc42a2307999db4282aa3f17051d
parent2dd3007b8502a4fdb93228850d147b93cf8cb97d (diff)
Call str.encode() in gitmsg().HEADmaster
-rwxr-xr-xgitnoti.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitnoti.py b/gitnoti.py
index 8114741..3bce874 100755
--- a/gitnoti.py
+++ b/gitnoti.py
@@ -218,7 +218,7 @@ class Bot(irc.IRCClient):
repos[fullpath] = NotifyRepo(self, fullpath)
def gitmsg(self, msg):
- self.say(options.channel, msg)
+ self.say(options.channel, msg.encode('utf-8'))
def signedOn(self):
self.join(options.channel)