summaryrefslogtreecommitdiff
path: root/alot/commands/search.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-21 09:53:40 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-21 09:53:40 +0100
commitf9b1260a6c4dec2c3b4291c7a206e04ec6b691bd (patch)
treec7ac236bff044dd8ef73ac84d75315793f8884ca /alot/commands/search.py
parent4d467ddda9266627f9c857142ea602d853b57c5e (diff)
Use super() where applicable.
Diffstat (limited to 'alot/commands/search.py')
-rw-r--r--alot/commands/search.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/commands/search.py b/alot/commands/search.py
index 762e9ec8..14f267cd 100644
--- a/alot/commands/search.py
+++ b/alot/commands/search.py
@@ -56,7 +56,7 @@ class RefineCommand(Command):
else:
self.querystring = ' '.join(query)
self.sort_order = sort
- Command.__init__(self, **kwargs)
+ super().__init__(**kwargs)
def apply(self, ui):
if self.querystring or self.sort_order:
@@ -141,7 +141,7 @@ class TagCommand(Command):
self.tagsstring = tags
self.action = action
self.allm = allmessages
- Command.__init__(self, **kwargs)
+ super().__init__(**kwargs)
async def apply(self, ui):
searchbuffer = ui.current_buffer