diff options
Diffstat (limited to 'jtlib/plugins/new_plugin.py')
-rw-r--r-- | jtlib/plugins/new_plugin.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/jtlib/plugins/new_plugin.py b/jtlib/plugins/new_plugin.py index b10b4a1..8134fa5 100644 --- a/jtlib/plugins/new_plugin.py +++ b/jtlib/plugins/new_plugin.py @@ -25,14 +25,6 @@ import jtlib class NewCommand(cliapp.Plugin): - _default_new_note_template = '''\ -[[!meta title="%(title)s"]] -[[!tag ]] -[[!meta date="%(date)s"]] -%(topiclink)s - -''' - def enable(self): self.app.add_subcommand('new', self.run, arg_synopsis='TITLE') @@ -79,4 +71,4 @@ class NewCommand(cliapp.Plugin): with open(filename) as f: return f.read() else: - return self._default_new_note_template + return self.app.read_template('new-note.tmpl') |