summaryrefslogtreecommitdiff
path: root/alot/buffers/taglist.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-04-25 18:10:25 +0200
committerAnton Khirnov <anton@khirnov.net>2020-04-25 18:10:25 +0200
commita9e8f3271055740c9b96bb83483a09381f15312b (patch)
treed1f3f6dca6432571c74358e4eb4fe7151c0900a6 /alot/buffers/taglist.py
parent0c4e47fef27bf2d883dae3270faaef69a58a7067 (diff)
buffer: drop the ui parameter when not needed
Diffstat (limited to 'alot/buffers/taglist.py')
-rw-r--r--alot/buffers/taglist.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/buffers/taglist.py b/alot/buffers/taglist.py
index 55fa2fdd..d97876df 100644
--- a/alot/buffers/taglist.py
+++ b/alot/buffers/taglist.py
@@ -13,13 +13,13 @@ class TagListBuffer(Buffer):
modename = 'taglist'
- def __init__(self, ui, alltags=None, filtfun=lambda x: x):
+ def __init__(self, alltags=None, filtfun=lambda x: x):
self.filtfun = filtfun
- self.ui = ui
self.tags = alltags or []
self.isinitialized = False
self.rebuild()
- Buffer.__init__(self, ui, self.body)
+
+ super().__init__()
def rebuild(self):
if self.isinitialized: