From f67b8df1bc16f6c51bdfcf088c4e3f12f7e543f3 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Mon, 20 Aug 2012 23:45:35 +0200 Subject: [PATCH] add wiki mac to macs --- nodedb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodedb.py b/nodedb.py index 359f7cc..1ad6b13 100644 --- a/nodedb.py +++ b/nodedb.py @@ -275,9 +275,10 @@ class NodeDB: node = self.maybe_node_by_fuzzy_mac(data[0]) except KeyError: node = Node() - node.add_mac(data[0]) self._nodes.append(node) + node.add_mac(data[0]) + if data[1]: node.gps = data[1]