add wiki mac to macs

This commit is contained in:
Nils Schneider 2012-08-20 23:45:35 +02:00
parent a6d7e4e1f3
commit f67b8df1bc

View file

@ -275,9 +275,10 @@ class NodeDB:
node = self.maybe_node_by_fuzzy_mac(data[0]) node = self.maybe_node_by_fuzzy_mac(data[0])
except KeyError: except KeyError:
node = Node() node = Node()
node.add_mac(data[0])
self._nodes.append(node) self._nodes.append(node)
node.add_mac(data[0])
if data[1]: if data[1]:
node.gps = data[1] node.gps = data[1]