summaryrefslogtreecommitdiff
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:11:07 +0000
commit6554345a0523b0221fc54a771ab53682086ef603 (patch)
tree728e86c597d83e3895d79ee530f6b31976fb2040
parent247cf303d83cc5fe045312c48cbda24a4a6a6bc0 (diff)
Fix unsign command for envelope buffers.
-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()