summaryrefslogtreecommitdiff
path: root/alot/commands
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-03-24 18:17:26 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2016-03-24 20:10:51 +0000
commit53f5a637ed07c47e57e25c803caf7bc1b06c4e7f (patch)
tree922151ebc4e03caebb13961873c3a98c0ea7c654 /alot/commands
parent30d69d9402eb71fdcb2da72e984a082aa4e9ea56 (diff)
Fix unsign command for envelope buffers.
Diffstat (limited to 'alot/commands')
-rw-r--r--alot/commands/envelope.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index c72c5fa3..e1a6eca7 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -492,6 +492,8 @@ class SignCommand(Command):
ui.notify(e.message, priority='error')
return
envelope.sign_key = key
+ else:
+ envelope.sign_key = None
# reload buffer
ui.current_buffer.rebuild()