mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-11 11:56:18 +00:00
Fix example
This commit is contained in:
@@ -208,7 +208,7 @@ class MeshCore:
|
||||
if not self._contacts:
|
||||
return None
|
||||
|
||||
for contact_id, contact in self._contacts.items():
|
||||
for _, contact in self._contacts.items():
|
||||
if contact.get("adv_name", "").lower() == name.lower():
|
||||
return contact
|
||||
|
||||
|
||||
Reference in New Issue
Block a user