mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-01-18 16:30:33 +00:00
Fixed rnstatus display bug
This commit is contained in:
parent
e3a716224d
commit
097e136662
@ -379,8 +379,11 @@ def program_setup(configdir, dispall=False, verbosity=0, name_filter=None, json=
|
|||||||
elif strdiff < 0:
|
elif strdiff < 0:
|
||||||
rxb_str += " "*-strdiff
|
rxb_str += " "*-strdiff
|
||||||
|
|
||||||
rxstat = rxb_str+" "+RNS.prettyspeed(ifstat["rxs"])
|
rxstat = rxb_str
|
||||||
txstat = txb_str+" "+RNS.prettyspeed(ifstat["txs"])
|
txstat = txb_str
|
||||||
|
if "rxs" in ifstat and "txs" in ifstat:
|
||||||
|
rxstat += " "+RNS.prettyspeed(ifstat["rxs"])
|
||||||
|
txstat += " "+RNS.prettyspeed(ifstat["txs"])
|
||||||
|
|
||||||
print(f" Traffic : {txstat}\n {rxstat}")
|
print(f" Traffic : {txstat}\n {rxstat}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user