From 953c8c94c7dd18848043fa3f428182381fd00009 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 19 Sep 2021 00:30:07 +0200 Subject: [PATCH] Fixed browser view on non node hosting instances. --- nomadnet/ui/textui/Browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomadnet/ui/textui/Browser.py b/nomadnet/ui/textui/Browser.py index ae4be99..ba85a03 100644 --- a/nomadnet/ui/textui/Browser.py +++ b/nomadnet/ui/textui/Browser.py @@ -202,7 +202,7 @@ class Browser: self.display_widget.set_attr_map({None: "body_text"}) self.browser_header = self.make_control_widget() remote_display_string = self.app.directory.simplest_display_str(self.destination_hash) - if remote_display_string == RNS.prettyhexrep(self.loopback): + if self.loopback != None and remote_display_string == RNS.prettyhexrep(self.loopback): remote_display_string = self.app.node.name self.linebox.set_title(remote_display_string)