diff options
author | Christian Geier <geier@lostpackets.de> | 2017-09-23 19:34:59 +0200 |
---|---|---|
committer | Christian Geier <geier@lostpackets.de> | 2017-09-23 19:34:59 +0200 |
commit | 0a79e6e75f09eecb142c910fa17f784ffcaae50a (patch) | |
tree | 43a6acf54feb6630ce0cfeb16d6e13fa087a79e5 | |
parent | c6b8efc1f6784d757c601036e0ff982487fe0d29 (diff) |
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) |