commit 5e708804c75c9e61815b13b0dd10b79724966462
parent 96c76d155235e9f6457efbdbb5caca5639694c91
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date: Mon, 20 Feb 2023 18:32:49 -0300
monthly: Under petition by G., include emails in monthly report
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/format.py b/format.py
@@ -54,10 +54,10 @@ with open("history.tsv", "r") as f:
notes = []
formatted = []
-entryformat = "{rune: <2} {name: <20} {registration: >10} {deregistration: >10} {notes}"
+entryformat = "{rune: <2} {name: <20} {registration: >10} {deregistration: >10} {contact} {notes}"
formatter = NotesFormatter()
-print(entryformat.format(rune="", name="Name", registration="From", deregistration="Until", notes="Notes"))
+print(entryformat.format(rune="", name="Name", registration="From", deregistration="Until", contact="Contact", notes="Notes"))
for h in history:
print(formatter.vformat(entryformat, [], h).strip())
for i, n in enumerate(formatter.notes):