From db67adea0a6cc4289580ff7a19923605d48870e8 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 12 Nov 2026 20:16:22 +0100 Subject: [PATCH] Fixed path usage display --- RNS/Utilities/rnpath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Utilities/rnpath.py b/RNS/Utilities/rnpath.py index a7bae9ef..ec0a7fcc 100644 --- a/RNS/Utilities/rnpath.py +++ b/RNS/Utilities/rnpath.py @@ -299,7 +299,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(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'])}){u_str}") if destination_hash != None and displayed == 0: print("No path known")