diff --git a/CODE.rst b/CODE.rst index 2f092d5276ac57fadcba8c81f92de9f44ef84b65..177bfa16d4fa2c6359e2d6661976fbb441fa3aba 100644 --- a/CODE.rst +++ b/CODE.rst @@ -77,7 +77,6 @@ At a high level, import2ledger handles each input file this way:: usable_importers = importers where can_handle(input_file) returns true for importer_class in usable_importers: - template = built from importer_class.TEMPLATE_KEY input_file.seek(0) for entry_data in importer_class(input_file): for hook in all_hooks: @@ -86,9 +85,6 @@ At a high level, import2ledger handles each input file this way:: break elif hook_return is not None: entry_data = hook_return - else: - if 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.