summaryrefslogtreecommitdiff
path: root/alot/buffers/envelope.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/buffers/envelope.py')
-rw-r--r--alot/buffers/envelope.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/buffers/envelope.py b/alot/buffers/envelope.py
index ae2972d7..ada8791c 100644
--- a/alot/buffers/envelope.py
+++ b/alot/buffers/envelope.py
@@ -17,12 +17,12 @@ class EnvelopeBuffer(Buffer):
modename = 'envelope'
- def __init__(self, ui, envelope):
- self.ui = ui
+ def __init__(self, envelope):
self.envelope = envelope
self.all_headers = False
self.rebuild()
- Buffer.__init__(self, ui, self.body)
+
+ super().__init__()
def __str__(self):
to = self.envelope.get('To', fallback='unset')