From a7fabb9944329f79481157965bce02ffcbdf848f Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 13 Jun 2010 16:06:48 +0000 Subject: =?UTF-8?q?ENCODING=20ERROR=20=E2=99=A5=E2=99=A5=20on=20/topic=20c?= =?UTF-8?q?ommand,=20fixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gui.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gui.py') diff --git a/src/gui.py b/src/gui.py index 133e38bb..e7340cc1 100644 --- a/src/gui.py +++ b/src/gui.py @@ -358,8 +358,6 @@ class Gui(object): Display the presence on the room window and update the presence information of the concerned user """ - if len(sys.argv) > 1: - self.information(str(stanza)) from_nick = stanza.getFrom().getResource() from_room = stanza.getFrom().getStripped() room = self.get_room_by_name(from_room) @@ -785,7 +783,7 @@ class Gui(object): """ room = self.current_room() if len(args) == 0: - self.add_message_to_room(room, _("The subject of the room is: %s") % room.topic) + self.add_message_to_room(room, _("The subject of the room is: %s") % room.topic.decode('utf-8')) subject = ' '.join(args) if not room.joined or room.name == "Info": return -- cgit v1.2.3