add a decode
This commit is contained in:
parent
e3b340a430
commit
a4cb65366b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue