mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-20 23:16:26 -05:00
Cleanup
This commit is contained in:
parent
22bf35d59d
commit
6927c3c589
1 changed files with 1 additions and 2 deletions
|
|
@ -297,8 +297,7 @@ def program_setup(configdir, table, rates, drop, destination_hexhash, verbosity,
|
|||
else:
|
||||
if usage: u_str = f", last used {RNS.prettytime(now-path['used'])} ago" if path["used"] else ", never used"
|
||||
else: u_str = ""
|
||||
# print(RNS.prettyhexrep(path["hash"])+" is "+str(path["hops"])+" hop"+m_str+" away via "+RNS.prettyhexrep(path["via"])+" on "+path["interface"]+" expires "+RNS.timestamp_str(path["expires"])+u_str)
|
||||
print(f"{RNS.prettyhexrep(path['hash'])} {path["hops"]:>3}h via {RNS.prettyhexrep(path['via'])} on {path['interface']} expires in {RNS.prettytime(path["expires"]-now, compact=True)} (dv:{RNS.prettycost(path["value"])}/lc:{RNS.prettycost(path["lr_cost"])})")
|
||||
print(f"{RNS.prettyhexrep(path['hash'])} {path['hops']:>3}h via {RNS.prettyhexrep(path['via'])} on {path['interface']} expires in {RNS.prettytime(path['expires']-now, compact=True)} (dv:{RNS.prettycost(path['value'])}/lc:{RNS.prettycost(path['lr_cost'])})")
|
||||
|
||||
if destination_hash != None and displayed == 0:
|
||||
print("No path known")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue