summaryrefslogtreecommitdiff
path: root/alot/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/widgets.py')
-rw-r--r--alot/widgets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/widgets.py b/alot/widgets.py
index 3f3fde42..393c9198 100644
--- a/alot/widgets.py
+++ b/alot/widgets.py
@@ -549,8 +549,8 @@ class MessageHeaderWidget(urwid.AttrMap):
class MessageBodyWidget(urwid.AttrMap):
"""displays printable parts of an email"""
- def __init__(self, msg, tab_width=8):
- bodytxt = message.extract_body(msg).replace('\t', ' ' * tab_width)
+ def __init__(self, msg):
+ bodytxt = message.extract_body(msg)
urwid.AttrMap.__init__(self, urwid.Text(bodytxt), 'message_body')