mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-03 23:16:14 +02:00
FIrst pass at allow external plugins
This commit is contained in:
parent
1714d1eeef
commit
e25869e9bc
18 changed files with 113 additions and 76 deletions
|
@ -462,7 +462,7 @@ def run(context, command, text=""):
|
|||
def load_template(context, filename):
|
||||
full_path = os.path.join("features/data/templates", filename)
|
||||
exporter = plugins.template_exporter.__exporter_from_file(full_path)
|
||||
plugins.__exporter_types[exporter.names[0]] = exporter
|
||||
plugins.meta.__exporter_types[exporter.names[0]] = exporter
|
||||
|
||||
|
||||
@when('we set the keyring password of "{journal}" to "{password}"')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue