From afc48bb4ea56e65627e20e692bf016d2b5b08e77 Mon Sep 17 00:00:00 2001 From: Suhas Date: Sat, 6 Feb 2021 18:58:41 -0500 Subject: [PATCH] delete prettyexporter --- jrnl/plugins/text_exporter.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/jrnl/plugins/text_exporter.py b/jrnl/plugins/text_exporter.py index 50f24444..7714606c 100644 --- a/jrnl/plugins/text_exporter.py +++ b/jrnl/plugins/text_exporter.py @@ -3,10 +3,8 @@ # Copyright (C) 2012-2021 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html -from jrnl.Entry import Entry import os import re -from typing import Any, Union import unicodedata from jrnl.color import ERROR_COLOR @@ -79,11 +77,3 @@ class TextExporter: return cls.write_file(journal, output) else: return cls.export_journal(journal) - - -class PrettyExporter(TextExporter): - names = ["pretty"] - - @classmethod - def export_entry(cls, entry: Entry) -> Union[str, Any]: - return entry.pprint()