From c6a181ee2b05438c62993e4a7efb53ea761d954f Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 16 Aug 2023 19:49:03 +0100 Subject: [PATCH] interferes with reporting. Revert "add print() for each JSON file written as a kind of progress bar" This reverts commit 1d9eaa50b899ff4170761d791bdba5d44f20a0ef. --- src/budget_sync/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/budget_sync/main.py b/src/budget_sync/main.py index 5f2d7fc..a5ec9fa 100644 --- a/src/budget_sync/main.py +++ b/src/budget_sync/main.py @@ -69,8 +69,8 @@ def main(): write_budget_markdown(budget_graph, args.output_dir) write_budget_csv(budget_graph, args.output_dir) summarize_milestones(budget_graph) - json_milestones(budget_graph, args.comments, args.output_dir) print("```") # for using the output as markdown + json_milestones(budget_graph, args.comments, args.output_dir) def print_markdown_for_person(budget_graph: BudgetGraph, config: Config, @@ -221,7 +221,6 @@ def json_milestones(budget_graph: BudgetGraph, add_comments: bool, output_file = output_dir / f"report.{milestone.identifier}.json" output_file.write_text(json.dumps(d, indent=2), encoding="utf-8") - print(f"wrote JSON for {milestone.identifier}") if __name__ == "__main__": -- 2.30.2