We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e138419 commit 24f9146Copy full SHA for 24f9146
1 file changed
canopen/network.py
@@ -162,7 +162,6 @@ def add_node(
162
logger.info("Trying to read EDS from node %d", node)
163
object_dictionary = import_from_node(node, self)
164
node = RemoteNode(node, object_dictionary) # type: ignore[arg-type]
165
- assert node.id is not None
166
self[node.id] = node
167
return node
168
@@ -185,7 +184,6 @@ def create_node(
185
184
"""
186
if isinstance(node, int):
187
node = LocalNode(node, object_dictionary) # type: ignore[arg-type]
188
189
190
191
0 commit comments