CODE: Update main loop to reflect the template change in 34b71ba.

This commit is contained in:
Brett Smith 2017-12-19 10:17:15 -05:00
parent cc8c03ab62
commit fa35a70f9f

View file

@ -88,7 +88,7 @@ At a high level, import2ledger handles each input file this way::
for hook in all_hooks: for hook in all_hooks:
hook.run(entry_data) hook.run(entry_data)
if entry_data: if entry_data:
template.render(**entry_data) template.render(entry_data)
Note in particular that multiple importers can handle the same input file. This helps support inputs like Patreon's earnings CSV, where completely different transactions are generated from the same source. Note in particular that multiple importers can handle the same input file. This helps support inputs like Patreon's earnings CSV, where completely different transactions are generated from the same source.