db59d2fc8c
If there's a 'ledger entry' key in the entry data, use that value as the name of the template to load. Thanks to this, nbpy2017 could collapse multiple importers into one. Otherwise, build a default template name based on the importer source, and try to use that. All the configuration names now end with "ledger entry" instead of starting with "template". This makes it clearer what they're for, in case we support other kinds of output templates in the future. I ended up changing the names of some of the importers so the default template name was nice, rather than specifying template names for all of them, to reduce the amount of name discrepancies across the codebase. |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
test_config.py | ||
test_hook_ledger_entry.py | ||
test_hooks.py | ||
test_importers.py | ||
test_main.py |