diff --git a/jrnl/plugins/text_exporter.py b/jrnl/plugins/text_exporter.py index 1662b533..4a5300df 100644 --- a/jrnl/plugins/text_exporter.py +++ b/jrnl/plugins/text_exporter.py @@ -36,7 +36,6 @@ class TextExporter: except IOError as e: return f"[{ERROR_COLOR}ERROR{RESET_COLOR}: {e.filename} {e.strerror}]" except RuntimeError as e: - os.remove(path) return e @classmethod @@ -58,7 +57,6 @@ class TextExporter: e.filename, e.strerror, ERROR_COLOR, RESET_COLOR ) except RuntimeError as e: - os.remove(full_path) return e return "[Journal exported to {}]".format(path)