diff options
-rw-r--r-- | alot/commands/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/search.py b/alot/commands/search.py index 9cf0713c..27625ce1 100644 --- a/alot/commands/search.py +++ b/alot/commands/search.py @@ -57,7 +57,7 @@ class RefineCommand(Command): self.querystring = None else: self.querystring = ' '.join(query) - self.sort_order = SORT_NAME[sort] + self.sort_order = SORT_NAME[sort] if sort else None super().__init__(**kwargs) def apply(self, ui): |