use space instead of tab so that   works
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 6 Dec 2023 18:28:07 +0000 (18:28 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 6 Dec 2023 18:28:07 +0000 (18:28 +0000)
src/budget_sync/main.py

index 3fd13f3941c50048cd22a997d7a08bd695591326..d01a09cbe2cfba6dbfa0f7a75144bba4bbeedf3f 100644 (file)
@@ -148,7 +148,7 @@ def summarize_milestones(f, budget_graph, detail=False):
     for milestone, payments in budget_graph.milestone_payments.items():
         summary = PaymentSummary(payments)
         print(f"{milestone.identifier}<br>", file=f)
-        print(f"\t{summary.total} submitted: "
+        print(f"    {summary.total} submitted: "
               f"{summary.total_submitted} paid: {summary.total_paid}<br>",
               file=f)
         not_submitted = summary.get_not_submitted()
@@ -157,7 +157,7 @@ def summarize_milestones(f, budget_graph, detail=False):
 
         # and one to display people
         for person in budget_graph.milestone_people[milestone]:
-            print(spc("\t%-30s - %s<br>" % (person.identifier,
+            print(spc("    %-30s - %s<br>" % (person.identifier,
                                             person.full_name)),
                   file=f)
         print("<br>", file=f)