From 2174c57b8b442e5ef401be9ed0fc93534ce9b815 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Mon, 4 Jun 2012 19:05:16 +0200 Subject: [PATCH] bugfix --- nodedb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodedb.py b/nodedb.py index 1aebf74..ea253e5 100644 --- a/nodedb.py +++ b/nodedb.py @@ -205,7 +205,7 @@ class NodeDB: node.add_mac(pair[0]) self._nodes.append(node) - if '2' in pair: + if len(pair) > 2: if pair[2]: node.name = pair[2]