Skip to content

Commit c7c3c69

Browse files
committed
Fix a pylint error regarding typing.
1 parent 53e40d5 commit c7c3c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshtastic/mesh_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def getNestedValue(node_dict: Dict[str, Any], key_path: str) -> Any:
284284
logging.debug("getNestedValue was called without a nested path.")
285285
return None
286286
keys = key_path.split(".")
287-
value = node_dict
287+
value: Union[str, dict, None] = node_dict
288288
for key in keys:
289289
if isinstance(value, dict):
290290
value = value.get(key)

0 commit comments

Comments
 (0)