bugfix
parent
f7417f0939
commit
bc4b90c4ed
|
@ -190,7 +190,7 @@ class NodeDB:
|
||||||
|
|
||||||
macs = [s for s in [s.strip() for s in node['MAC'].split(',')] if s]
|
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]
|
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]
|
names = [s for s in [s.strip() for s in node['Nick'].split(',')] if s]
|
||||||
zipped = zip(macs, gps, names)
|
zipped = zip(macs, gps, names)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue