From ed3479da9a05b89b7638113667e6e300ecaac503 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 4 Oct 2023 23:46:35 +0200 Subject: [PATCH] Reordered airtime stats --- RNS/Utilities/rnstatus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RNS/Utilities/rnstatus.py b/RNS/Utilities/rnstatus.py index ae8d125..835df74 100644 --- a/RNS/Utilities/rnstatus.py +++ b/RNS/Utilities/rnstatus.py @@ -170,10 +170,10 @@ def program_setup(configdir, dispall=False, verbosity=0, name_filter=None, json= print(" Rate : {ss}".format(ss=speed_str(ifstat["bitrate"]))) if "airtime_short" in ifstat and "airtime_long" in ifstat: - print(" Airtime : {atl}% (1h), {ats}% (15s)".format(ats=str(ifstat["airtime_short"]),atl=str(ifstat["airtime_long"]))) + print(" Airtime : {ats}% (15s), {atl}% (1h)".format(ats=str(ifstat["airtime_short"]),atl=str(ifstat["airtime_long"]))) if "channel_load_short" in ifstat and "channel_load_long" in ifstat: - print(" Ch.Load : {atl}% (1h), {ats}% (15s)".format(ats=str(ifstat["channel_load_short"]),atl=str(ifstat["channel_load_long"]))) + print(" Ch.Load : {ats}% (15s), {atl}% (1h)".format(ats=str(ifstat["channel_load_short"]),atl=str(ifstat["channel_load_long"]))) if "peers" in ifstat and ifstat["peers"] != None: print(" Peers : {np} reachable".format(np=ifstat["peers"]))