summaryrefslogtreecommitdiff
path: root/alot/buffers/thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/buffers/thread.py')
-rw-r--r--alot/buffers/thread.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/alot/buffers/thread.py b/alot/buffers/thread.py
index 8d1aa374..052ed98d 100644
--- a/alot/buffers/thread.py
+++ b/alot/buffers/thread.py
@@ -38,10 +38,8 @@ class ThreadBuffer(Buffer):
_divider_up = None
_divider_down = None
- def __init__(self, ui, thread):
+ def __init__(self, thread):
"""
- :param ui: main UI
- :type ui: :class:`~alot.ui.UI`
:param thread: thread to display
:type thread: :class:`~alot.db.Thread`
"""
@@ -68,7 +66,7 @@ class ThreadBuffer(Buffer):
self.rebuild()
- super().__init__(ui, self.body)
+ super().__init__()
def __str__(self):
return '[thread] %s (%d message%s)' % (self.thread.subject,