mirror of
https://github.com/craigerl/aprsd.git
synced 2024-11-23 16:38:40 -05:00
fixed name for dump-stats output
Also added a console.stats during loading of the stats
This commit is contained in:
parent
579d0c95a0
commit
563b06876c
@ -164,9 +164,10 @@ def fetch_stats(ctx, host, port):
|
||||
def dump_stats(ctx):
|
||||
"""Dump the current stats from the running APRSD instance."""
|
||||
console = Console()
|
||||
console.print(f"APRSD Fetch-Stats started version: {aprsd.__version__}")
|
||||
console.print(f"APRSD Dump-Stats started version: {aprsd.__version__}")
|
||||
|
||||
ss = StatsStore()
|
||||
ss.load()
|
||||
stats = ss.data
|
||||
console.print(stats)
|
||||
with console.status("Dumping stats"):
|
||||
ss = StatsStore()
|
||||
ss.load()
|
||||
stats = ss.data
|
||||
console.print(stats)
|
||||
|
Loading…
Reference in New Issue
Block a user