diff options
Diffstat (limited to 'alot/widgets/globals.py')
-rw-r--r-- | alot/widgets/globals.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/alot/widgets/globals.py b/alot/widgets/globals.py index 8b9b3065..7f2a9dcd 100644 --- a/alot/widgets/globals.py +++ b/alot/widgets/globals.py @@ -10,7 +10,6 @@ import operator import urwid from ..settings.const import settings -from ..db.attachment import Attachment from ..errors import CompletionError @@ -22,8 +21,6 @@ class AttachmentWidget(urwid.WidgetWrap): def __init__(self, attachment, selectable=True): self._selectable = selectable self.attachment = attachment - if not isinstance(attachment, Attachment): - self.attachment = Attachment(self.attachment) att = settings.get_theming_attribute('thread', 'attachment') focus_att = settings.get_theming_attribute('thread', 'attachment_focus') |