summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-07-20 22:16:31 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-07-20 22:16:31 +0100
commit1319f79bfe441b355ea35404198d53f079088a7c (patch)
tree6281f14378952ba214e290cd10cd3e84a181ab2a /alot
parent96d3452d320b6e6fa338d9f61c869641d801e1bd (diff)
fix small annoyances
Diffstat (limited to 'alot')
-rw-r--r--alot/widgets.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/widgets.py b/alot/widgets.py
index 74b30e32..0145bb33 100644
--- a/alot/widgets.py
+++ b/alot/widgets.py
@@ -155,13 +155,13 @@ class ThreadlineWidget(urwid.AttrMap):
elif name == 'subject':
if self.thread:
- subjectstring = self.thread.get_subject() or ''
+ subjectstring = self.thread.get_subject() or ' '
else:
- subjectstring = ''
+ subjectstring = ' '
# sanitize subject string:
subjectstring = subjectstring.replace('\n', ' ')
subjectstring = subjectstring.replace('\r', '')
- subjectstring = pad(subjectstring.strip())
+ subjectstring = pad(subjectstring)
subject_w = AttrFlipWidget(urwid.Text(subjectstring, wrap='clip'),
struct['subject'])