forked from expo/troggle
formatting terminal o/p
This commit is contained in:
parent
64fa602a07
commit
3bd7684d4b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user