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]