mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 04:58:32 +02:00
formatting for pretty exporter
This commit is contained in:
parent
c9404d013d
commit
be8c48d2b0
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@ class TextExporter:
|
|||
|
||||
|
||||
class PrettyExporter(TextExporter):
|
||||
names=["pretty"]
|
||||
names = ["pretty"]
|
||||
|
||||
@classmethod
|
||||
def export_entry(cls, entry: Entry) -> Union[str, Any]:
|
||||
return entry.pprint()
|
||||
|
|
Loading…
Add table
Reference in a new issue