Merge pull request #46 from ffac/legacy
Fixes a bug that will add a node with upercase letters in its id to the ...
This commit is contained in:
commit
39f358a0eb
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class NodeDB:
|
||||||
|
|
||||||
def maybe_node_by_id(self, mac):
|
def maybe_node_by_id(self, mac):
|
||||||
for node in self._nodes:
|
for node in self._nodes:
|
||||||
if mac.lower() == node.id:
|
if mac.lower() == node.id.lower():
|
||||||
return node
|
return node
|
||||||
|
|
||||||
raise KeyError
|
raise KeyError
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue