Skip to content

Commit

Permalink
Avoid using port 0 for SpotCamWrapper (#124)
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
mhidalgo-bdai authored Jul 10, 2024
1 parent 961c368 commit 0880b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spot_wrapper/cam_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ def __init__(
spot_cam.register_all_service_clients(self.sdk)

self.robot = self.sdk.create_robot(self._hostname)
if port is not None:
if port:
self.robot.update_secure_channel_port(port)
SpotWrapper.authenticate(self.robot, self._username, self._password, self._logger)

Expand Down

0 comments on commit 0880b95

Please sign in to comment.