From cb4ec6266272587753221c8547a41d8d0935c21f Mon Sep 17 00:00:00 2001 From: geeksville Date: Wed, 17 Jun 2020 19:34:53 -0700 Subject: [PATCH] oops sorry @nicetechguy, fix #2. in scripting languages without static validation, gotta check all execution paths before checking in ;-) --- meshtastic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/__init__.py b/meshtastic/__init__.py index 4e5bff6..c752956 100644 --- a/meshtastic/__init__.py +++ b/meshtastic/__init__.py @@ -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