From e21cdd7e69aa4fe10e90eb0bfad36f9712e9c7d8 Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Thu, 31 May 2012 11:22:54 +0200 Subject: [PATCH] Use Entry.pprint for display, str(Entry) for writing. --- jrnl/Journal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/Journal.py b/jrnl/Journal.py index d3983081..495a20ab 100644 --- a/jrnl/Journal.py +++ b/jrnl/Journal.py @@ -135,7 +135,7 @@ class Journal: def __str__(self): """Prettyprints the journal's entries""" sep = "\n" - pp = sep.join([str(e) for e in self.entries]) + pp = sep.join([e.pprint() for e in self.entries]) if self.config['highlight']: # highlight tags if self.search_tags: for tag in self.search_tags: