diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-21 09:53:40 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-21 09:53:40 +0100 |
commit | f9b1260a6c4dec2c3b4291c7a206e04ec6b691bd (patch) | |
tree | c7ac236bff044dd8ef73ac84d75315793f8884ca /alot/commands/search.py | |
parent | 4d467ddda9266627f9c857142ea602d853b57c5e (diff) |
Use super() where applicable.
Diffstat (limited to 'alot/commands/search.py')
-rw-r--r-- | alot/commands/search.py | 4 |
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 |