include offline nodes from aliases.json in output

alfred-data
Nils Schneider 2012-11-22 02:35:14 +01:00
parent 8e62ca2f37
commit 5613fa2f61
1 changed files with 4 additions and 1 deletions

View File

@ -170,7 +170,10 @@ class NodeDB:
try:
node = self.maybe_node_by_mac((mac, ))
except:
continue
# create an offline node
node = Node()
node.add_mac(mac)
self._nodes.append(node)
node.name = alias['name']