summaryrefslogtreecommitdiff
path: root/alot/widgets.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-02-27 09:38:45 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-02-27 09:38:45 +0000
commit99b788c33f089fc43574dd187322bffca32d48a9 (patch)
treeb1f4a4a04421b24ed41b71a3da1b108930025178 /alot/widgets.py
parent66369dadea1fccfc8cda844b023296845ad15fe5 (diff)
fix issue 368
closes #368
Diffstat (limited to 'alot/widgets.py')
-rw-r--r--alot/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets.py b/alot/widgets.py
index 2abb6464..2e6ac178 100644
--- a/alot/widgets.py
+++ b/alot/widgets.py
@@ -133,7 +133,7 @@ class ThreadlineWidget(urwid.AttrMap):
cols.append(('fixed', len(authorsstring), self.authors_w))
if self.thread:
- subjectstring = self.thread.get_subject()
+ subjectstring = self.thread.get_subject() or ''
else:
subjectstring = ''
# sanitize subject string: