reconcile: Align "N/A" with numbers.

This commit is contained in:
Ben Sturmfels 2022-01-28 10:18:02 +11:00
parent dbe8d02b78
commit 9e6b5b408a
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -166,7 +166,7 @@ entries, _, options = loader.load_file(beancount_file)
for desc, query in QUERIES.items(): for desc, query in QUERIES.items():
rtypes, rrows = run_query(entries, options, query, numberify=True) rtypes, rrows = run_query(entries, options, query, numberify=True)
if not rrows: if not rrows:
print(f'{desc:<55} N/A') print(f'{desc:<55} {"N/A":>11}')
elif desc.startswith('04'): elif desc.startswith('04'):
homedir = os.getenv('HOME') homedir = os.getenv('HOME')
print(f'{desc}\n See {grep_output_file.name}') print(f'{desc}\n See {grep_output_file.name}')