mirror of
https://github.com/markqvist/NomadNet.git
synced 2024-10-01 01:26:07 -04:00
Fixed None reference
This commit is contained in:
parent
9dc09be4ae
commit
718e2ca859
@ -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 = ""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user