From a4cb65366bb96c8559e94b3b837c1cb2f14c4723 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 25 Sep 2005 19:00:14 +0000 Subject: [PATCH] add a decode --- src/dialogs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index 05c7cbc5f..3115ff4a7 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -187,7 +187,8 @@ class ChooseGPGKeyDialog: if rep == gtk.RESPONSE_OK: selection = self.keys_treeview.get_selection() (model, iter) = selection.get_selected() - keyID = [ model[iter][0].decode('utf-8'), model[iter][1] ] + keyID = [ model[iter][0].decode('utf-8'), + model[iter][1].decode('utf-8') ] else: keyID = None self.window.destroy()