diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2017-09-25 10:49:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-25 10:49:34 +0100 |
commit | 018aa2e339f9cb3bb4af1d26cce31cbad003409d (patch) | |
tree | 43a6acf54feb6630ce0cfeb16d6e13fa087a79e5 | |
parent | c6b8efc1f6784d757c601036e0ff982487fe0d29 (diff) | |
parent | 0a79e6e75f09eecb142c910fa17f784ffcaae50a (diff) |
Merge pull request #1159 from geier/get_body
Call _get_body() only once.
-rw-r--r-- | alot/widgets/thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py index 4c4e1c30..5b2a55f3 100644 --- a/alot/widgets/thread.py +++ b/alot/widgets/thread.py @@ -207,7 +207,7 @@ class MessageTree(CollapsibleTree): bodytree = self._get_body() if bodytree is not None: - mainstruct.append((self._get_body(), None)) + mainstruct.append((bodytree, None)) structure = [ (self._get_summary(), mainstruct) |