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