From e83ead7b37388b6928c54fe3f64d49db8243c6e6 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 6 May 2024 16:46:12 +0200 Subject: [PATCH] Added network stats to object details --- sbapp/ui/objectdetails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbapp/ui/objectdetails.py b/sbapp/ui/objectdetails.py index f51ba6e..43d9adf 100644 --- a/sbapp/ui/objectdetails.py +++ b/sbapp/ui/objectdetails.py @@ -642,7 +642,7 @@ def lj(): try: nh = RNS.Transport.hops_to(self.delegate.object_hash) nhi = self.delegate.app.sideband.reticulum.get_next_hop_if_name(self.delegate.object_hash) - if nhi: + if nhi and nhi != "None": self.entries.append({"icon": "routes", "text": f"Current path on [b]{nhi}[/b]", "on_release": pass_job}) try: