summaryrefslogtreecommitdiff
path: root/alot/widgets.py
diff options
context:
space:
mode:
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: