add a decode

This commit is contained in:
Nikos Kouremenos 2005-09-25 19:00:14 +00:00
parent e3b340a430
commit a4cb65366b
1 changed files with 2 additions and 1 deletions

View File

@ -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()