diff options
author | bjoernb <post@bjoern.homelinux.org> | 2012-12-14 15:50:40 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-01-15 11:29:12 +0000 |
commit | cc6b9355cc2b9175b37c334dea39390170978566 (patch) | |
tree | b4f1984f2a118b3f92972a44b98dca923948abca /alot/buffers.py | |
parent | 389b1a22839faf8d08a5d9ef139e3f3d4c407956 (diff) |
deliver an empty ListBox[] on error
Diffstat (limited to 'alot/buffers.py')
-rw-r--r-- | alot/buffers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/buffers.py b/alot/buffers.py index d11e8ceb..555268e1 100644 --- a/alot/buffers.py +++ b/alot/buffers.py @@ -238,7 +238,7 @@ class SearchBuffer(Buffer): except NotmuchError: self.ui.notify('malformed query string: %s' % self.querystring, 'error') - self.listbox = urwid.ListBox(self.threadlist) + self.listbox = urwid.ListBox([]) self.body = self.listbox return |