summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/commands/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/commands/utils.py b/alot/commands/utils.py
index b7915378..7a1c0ac1 100644
--- a/alot/commands/utils.py
+++ b/alot/commands/utils.py
@@ -97,7 +97,8 @@ def _get_keys(ui, encrypt_keyids, block_error=False, signed_only=False):
crypto.list_keys(hint=keyid)], 1)}
choosen_key = yield ui.choice("ambiguous keyid! Which " +
"key do you want to use?",
- choices, keys_to_return)
+ choices=choices,
+ choices_to_return=keys_to_return)
if choosen_key:
keys[choosen_key.fpr] = choosen_key
continue