include offline nodes from aliases.json in output
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 New Issue