From 6605ab7a0aac3942c974846064d4fba389e9bf03 Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 16 Jul 2010 20:15:14 +0800 Subject: [PATCH] plugin tarot, plugin MUC: removed print which were causing error when printing unicode string --- plugins/plugin_misc_tarot.py | 1 - plugins/plugin_xep_0045.py | 1 - 2 files changed, 2 deletions(-) diff --git a/plugins/plugin_misc_tarot.py b/plugins/plugin_misc_tarot.py index 8332db1b..e41e4a1f 100755 --- a/plugins/plugin_misc_tarot.py +++ b/plugins/plugin_misc_tarot.py @@ -562,7 +562,6 @@ class Tarot(): def card_game_cmd(self, mess_elt, profile): - print "\n\nCARD GAME command received (profile=%s): %s" % (profile, mess_elt.toXml()) from_jid = jid.JID(mess_elt['from']) room_jid = jid.JID(from_jid.userhost()) game_elt = mess_elt.firstChildElement() diff --git a/plugins/plugin_xep_0045.py b/plugins/plugin_xep_0045.py index 36c0a7d2..b7763170 100755 --- a/plugins/plugin_xep_0045.py +++ b/plugins/plugin_xep_0045.py @@ -90,7 +90,6 @@ class XEP_0045(): def __room_joined(self, room, profile): """Called when the user is in the requested room""" - print "room joined (profile = %s)" % profile room_jid = room.roomIdentifier+'@'+room.service self.clients[profile].joined_rooms[room_jid] = room self.host.bridge.roomJoined(room.roomIdentifier, room.service, [user.nick for user in room.roster.values()], room.nick, profile)