mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Use Entry.pprint for display, str(Entry) for writing.
This commit is contained in:
parent
fea171170a
commit
e21cdd7e69
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue