diff options
Diffstat (limited to 'alot/commands/utils.py')
-rw-r--r-- | alot/commands/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/utils.py b/alot/commands/utils.py index 7a1c0ac1..e1fc26df 100644 --- a/alot/commands/utils.py +++ b/alot/commands/utils.py @@ -46,7 +46,7 @@ def set_encrypt(ui, envelope, block_error=False, signed_only=False): keys = yield _get_keys(ui, encrypt_keys, block_error=block_error, signed_only=signed_only) if keys: - envelope.encrypt_keys.update(keys) + envelope.encrypt_keys = keys envelope.encrypt = True if 'From' in envelope.headers: |