diff --git a/jrnl/plugins/__init__.py b/jrnl/plugins/__init__.py index 6f802342..93019af0 100644 --- a/jrnl/plugins/__init__.py +++ b/jrnl/plugins/__init__.py @@ -8,6 +8,7 @@ import importlib class PluginMeta(type): + def __init__(cls, name, bases, attrs): """Called when a Plugin derived class is imported""" if not hasattr(cls, 'PLUGINS'): diff --git a/jrnl/plugins/markdown_exporter.py b/jrnl/plugins/markdown_exporter.py index 2ad660fc..2079e4c6 100644 --- a/jrnl/plugins/markdown_exporter.py +++ b/jrnl/plugins/markdown_exporter.py @@ -6,7 +6,7 @@ from .text_exporter import TextExporter class MarkdownExporter(TextExporter): - """This Exporter can convert entries and journals into json.""" + """This Exporter can convert entries and journals into Markdown.""" names = ["md", "markdown"] extension = "md" @@ -27,7 +27,7 @@ class MarkdownExporter(TextExporter): @classmethod def export_journal(cls, journal): - """Returns a json representation of an entire journal.""" + """Returns a Markdown representation of an entire journal.""" out = [] year, month = -1, -1 for e in journal.entries: