Skip to content

Commit a288836

Browse files
Update matter_server/server/server.py
Co-authored-by: Martin Hjelmare <[email protected]>
1 parent 4a62304 commit a288836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matter_server/server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def _register_api_commands(self) -> None:
331331
if hasattr(attr, "mock_calls"):
332332
continue
333333

334-
# Bind the function to the instance before registering
334+
# Get the instance method before registering
335335
bound_method = getattr(obj, attr_name)
336336
self.register_api_command(attr.api_cmd, bound_method)
337337

0 commit comments

Comments
 (0)