diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2018-02-22 08:21:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 08:21:50 +0000 |
commit | 271ecfa4cb92a92bf3422a956af165e6d6bcfbfc (patch) | |
tree | a787eff4de7c7c60d03b7355407f41dce94b3987 | |
parent | a17252f48805dd8e31ac75c6310cc5bc6e0820d0 (diff) | |
parent | 7cad5bb95a8726ae9933506fc63fd313c46acbd4 (diff) |
Merge pull request #1196 from dcbaker/fix-ambigious-key
fix ambiguous keys harder
-rw-r--r-- | alot/commands/utils.py | 3 |
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 |