author | Thierry Florac <tflorac@ulthar.net> |
Wed, 22 May 2019 17:24:00 +0200 | |
changeset 443 | 9d003159622b |
parent 442 | fc7e21dda03b |
child 444 | f39586021927 |
src/pyams_default_theme/component/paragraph/keypoint.py | file | annotate | diff | comparison | revisions |
--- a/src/pyams_default_theme/component/paragraph/keypoint.py Wed May 22 15:13:45 2019 +0200 +++ b/src/pyams_default_theme/component/paragraph/keypoint.py Wed May 22 17:24:00 2019 +0200 @@ -37,4 +37,4 @@ @property def keypoints(self): - return (self.body or '').split('\n') + return self.body.split('\n') if self.body else ''