mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 22:39:18 -04:00
oops sorry @nicetechguy, fix #2. in scripting languages without static
validation, gotta check all execution paths before checking in ;-)
This commit is contained in:
1 parent
708e4f43c7
commit
cb4ec62662
1 file changed
+1
-1
@@ -239,7 +239,7 @@ class MeshInterface:
|
||||
if nodeNum in self._nodesByNum:
|
||||
return self._nodesByNum[nodeNum]
|
||||
else:
|
||||
n = { num: n } # Create a minimial node db entry
|
||||
n = { "num": nodeNum } # Create a minimial node db entry
|
||||
self._nodesByNum[nodeNum] = n
|
||||
return n
|
||||
|
||||
|
||||
Reference in new issue
Block a user