From 3bd7684d4b41e72a336f7ae0e738f7c3ea9ff522 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Mon, 24 Jul 2023 14:24:53 +0300 Subject: [PATCH] formatting terminal o/p --- parsers/logbooks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 8d2f969..84d0f5a 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -666,7 +666,7 @@ def LoadLogbooks(): logentries = parse_logbook_for_expedition(b, blog=True) # loads the blog logbook for one expo allentries += logentries - print(f"\ntotal {len(allentries):,} log entries parsed in all expeditions") + print(f"\n - {len(allentries):,} log entries parsed in all expeditions") mem = get_process_memory() print(f" - MEM: {mem:7.2f} MB in use, {mem-mem1:7.2f} MB more", file=sys.stderr) duration = time.time() - start @@ -683,7 +683,7 @@ def LoadLogbooks(): for expo in expos: expo.save() # to save logbook name property mem = get_process_memory() - print(f"total {len(allentries):,} log entries saved into database") + print(f" - {len(allentries):,} log entries saved into database") print(f" - MEM: {mem:7.2f} MB in use, {mem-mem1:7.2f} MB more", file=sys.stderr) duration = time.time() - start print(f" - TIME: {duration:7.2f} s", file=sys.stderr)