From bc4b90c4ed5a5c7500c1c9177443a894fdc861af Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Mon, 4 Jun 2012 18:56:40 +0200 Subject: [PATCH] bugfix --- nodedb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodedb.py b/nodedb.py index f9adba7..9e13a3e 100644 --- a/nodedb.py +++ b/nodedb.py @@ -190,7 +190,7 @@ class NodeDB: macs = [s for s in [s.strip() for s in node['MAC'].split(',')] if s] gps = [s for s in [s.strip() for s in node['GPS'].split(',')] if s] - if 'MAC' in node: + if 'Nick' in node: names = [s for s in [s.strip() for s in node['Nick'].split(',')] if s] zipped = zip(macs, gps, names) else: