From 9f64f04b37eec89c64f8851be99ed356b081f220 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sat, 5 Jan 2013 18:29:55 +0400 Subject: [PATCH] fix traceback in xml console --- src/dialogs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 17ecd19e7..2c314e428 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -3370,8 +3370,7 @@ class XMLConsoleWindow: self.account) return begin_iter, end_iter = self.input_tv_buffer.get_bounds() - stanza = self.input_tv_buffer.get_text(begin_iter, end_iter, True).decode( - 'utf-8') + stanza = self.input_tv_buffer.get_text(begin_iter, end_iter, True) if stanza: gajim.connections[self.account].send_stanza(stanza) self.input_tv_buffer.set_text('') # we sent ok, clear the textview