add a decode
This commit is contained in:
parent
e3b340a430
commit
a4cb65366b
|
@ -187,7 +187,8 @@ class ChooseGPGKeyDialog:
|
||||||
if rep == gtk.RESPONSE_OK:
|
if rep == gtk.RESPONSE_OK:
|
||||||
selection = self.keys_treeview.get_selection()
|
selection = self.keys_treeview.get_selection()
|
||||||
(model, iter) = selection.get_selected()
|
(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:
|
else:
|
||||||
keyID = None
|
keyID = None
|
||||||
self.window.destroy()
|
self.window.destroy()
|
||||||
|
|
Loading…
Reference in New Issue