summaryrefslogtreecommitdiff
path: root/alot/commands/search.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-02-06 14:40:05 +0100
committerAnton Khirnov <anton@khirnov.net>2020-02-06 17:11:05 +0100
commit72ed7d40ac68d7e91f41e94fbcf6cb7a3e28433a (patch)
tree08395b57acf97a9aa83bb545645241259b9b28fb /alot/commands/search.py
parent8b787ec521849cb854154857196734b7a298611e (diff)
db: drop useless getters
Diffstat (limited to 'alot/commands/search.py')
-rw-r--r--alot/commands/search.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/alot/commands/search.py b/alot/commands/search.py
index 89012011..a2d598df 100644
--- a/alot/commands/search.py
+++ b/alot/commands/search.py
@@ -179,8 +179,7 @@ class TagCommand(Command):
testquery = searchbuffer.querystring
thread = threadline_widget.get_thread()
if not self.allm:
- testquery = "(%s) AND thread:%s" % (testquery,
- thread.get_thread_id())
+ testquery = "(%s) AND thread:%s" % (testquery, thread.id)
logging.debug('all? %s', self.allm)
logging.debug('q: %s', testquery)