From 141eb2a647490142adf017d3a755d03ab89ed687 Mon Sep 17 00:00:00 2001 From: MinchinWeb Date: Tue, 14 Apr 2015 11:59:15 -0600 Subject: [PATCH] Update `Tag` exporter code documentation. --- jrnl/plugins/tag_exporter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jrnl/plugins/tag_exporter.py b/jrnl/plugins/tag_exporter.py index 69029f61..439bac7c 100644 --- a/jrnl/plugins/tag_exporter.py +++ b/jrnl/plugins/tag_exporter.py @@ -7,18 +7,18 @@ from .util import get_tags_count class TagExporter(TextExporter): - """This Exporter can convert entries and journals into json.""" + """This Exporter can lists the tags for entries and journals, exported as a plain text file.""" names = ["tags"] extension = "tags" @classmethod def export_entry(cls, entry): - """Returns a markdown representation of a single entry.""" + """Returns a list of tags for a single entry.""" return ", ".join(entry.tags) @classmethod def export_journal(cls, journal): - """Returns a json representation of an entire journal.""" + """Returns a list of tags and their frequency for an entire journal.""" tag_counts = get_tags_count(journal) result = "" if not tag_counts: