summaryrefslogtreecommitdiff
path: root/alot/commands
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands')
-rw-r--r--alot/commands/envelope.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index c8362037..e14d2f55 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -414,7 +414,7 @@ class SetCommand(Command):
envelope = ui.current_buffer.envelope
if self.reset:
if self.key in envelope:
- del(envelope[self.key])
+ del envelope[self.key]
envelope.add(self.key, self.value)
ui.current_buffer.rebuild()
@@ -432,7 +432,7 @@ class UnsetCommand(Command):
Command.__init__(self, **kwargs)
def apply(self, ui):
- del(ui.current_buffer.envelope[self.key])
+ del ui.current_buffer.envelope[self.key]
ui.current_buffer.rebuild()