include offline nodes from aliases.json in output
This commit is contained in:
parent
8e62ca2f37
commit
5613fa2f61
|
@ -170,7 +170,10 @@ class NodeDB:
|
||||||
try:
|
try:
|
||||||
node = self.maybe_node_by_mac((mac, ))
|
node = self.maybe_node_by_mac((mac, ))
|
||||||
except:
|
except:
|
||||||
continue
|
# create an offline node
|
||||||
|
node = Node()
|
||||||
|
node.add_mac(mac)
|
||||||
|
self._nodes.append(node)
|
||||||
|
|
||||||
node.name = alias['name']
|
node.name = alias['name']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue