Skip to content

Commit e4dd876

Browse files
committed
remove redundant code
1 parent d824833 commit e4dd876

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

matter_server/client/client.py

-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ async def node_diagnostics(self, node_id: int) -> NodeDiagnostics:
339339
attribute=Clusters.NetworkCommissioning.Attributes.LastNetworkID,
340340
)
341341
):
342-
node.get_cluster(0, Clusters.NetworkCommissioning)
343342
if isinstance(last_network_id, bytes):
344343
network_name = last_network_id.decode("utf-8")
345344
elif last_network_id != NullValue:

0 commit comments

Comments
 (0)