1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-21 15:51:52 -05:00

fixed name for dump-stats output

Also added a console.stats during loading of the stats
This commit is contained in:
Hemna 2024-11-05 20:15:52 -05:00
parent 579d0c95a0
commit 563b06876c

View File

@ -164,8 +164,9 @@ def fetch_stats(ctx, host, port):
def dump_stats(ctx): def dump_stats(ctx):
"""Dump the current stats from the running APRSD instance.""" """Dump the current stats from the running APRSD instance."""
console = Console() console = Console()
console.print(f"APRSD Fetch-Stats started version: {aprsd.__version__}") console.print(f"APRSD Dump-Stats started version: {aprsd.__version__}")
with console.status("Dumping stats"):
ss = StatsStore() ss = StatsStore()
ss.load() ss.load()
stats = ss.data stats = ss.data