mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-07-21 06:20:25 -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
|
g = self.app.ui.glyphs
|
||||||
|
|
||||||
self.dialog_open = False
|
self.dialog_open = False
|
||||||
|
if self.app.node != None:
|
||||||
display_name = self.app.node.name
|
display_name = self.app.node.name
|
||||||
|
else:
|
||||||
|
display_name = None
|
||||||
|
|
||||||
if display_name == None:
|
if display_name == None:
|
||||||
display_name = ""
|
display_name = ""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue