From 99699d60e05f724034e551a2cfa640a54a9a4b0e Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Tue, 30 Aug 2005 20:58:40 +0000 Subject: [PATCH] [stephan k.] fixes with unicode in dnd --- src/roster_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 79ff63988..a7b3ff2ee 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1961,9 +1961,9 @@ _('If "%s" accepts this request you will know his status.') %jid) if gajim.config.get('mergeaccounts') or len(gajim.connections) == 1: merge = 1 model = treeview.get_model() - data = selection.data - if not data: + if not selection.data: return + data = selection.data.decode('utf-8') drop_info = treeview.get_dest_row_at_pos(x, y) if not drop_info: return