mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-13 19:32:17 -04:00
Fixed None reference
This commit is contained in:
parent
9dc09be4ae
commit
718e2ca859
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue