Fixed None reference

This commit is contained in:
Mark Qvist 2021-09-19 00:15:26 +02:00
parent 9dc09be4ae
commit 718e2ca859

View File

@ -700,7 +700,11 @@ class NodeInfo(urwid.WidgetWrap):
g = self.app.ui.glyphs
self.dialog_open = False
display_name = self.app.node.name
if self.app.node != None:
display_name = self.app.node.name
else:
display_name = None
if display_name == None:
display_name = ""