summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/commands/search.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/commands/search.py b/alot/commands/search.py
index 80aecb24..e2e135d4 100644
--- a/alot/commands/search.py
+++ b/alot/commands/search.py
@@ -38,9 +38,9 @@ class OpenThreadCommand(Command):
query = ui.current_buffer.querystring
logging.info('open thread view for %s', self.thread)
- sb = buffers.ThreadBuffer(ui, self.thread)
- ui.buffer_open(sb)
- sb.unfold_matching(query)
+ tb = buffers.ThreadBuffer(ui, self.thread)
+ ui.buffer_open(tb)
+ tb.unfold_matching(query)
@registerCommand(MODE, 'refine', help='refine query', arguments=[