diff bot.py @ 141:46c02cc89f18

minor fix Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 17 Jan 2010 11:39:11 +0100
parents 9f39cead20cb
children fcab2bdf1d65
line wrap: on
line diff
--- a/bot.py
+++ b/bot.py
@@ -431,7 +431,7 @@ class Bot(threading.Thread):
 			self.error(message.__str__(fancy=1), debug=True)
 		
 		else:
-			self.error('==> Debug: Received XMPP message of unknown type "'+message.getType()+'".', debug=True)
+			self.error('==> Debug: Received XMPP message of unknown type "'+str(message.getType())+'".', debug=True)
 			self.error(message.__str__(fancy=1), debug=True)