Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python3 port of hd_monitor.py #231

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

Rayman
Copy link
Contributor

@Rayman Rayman commented Jun 23, 2022

The data returned from a socket is bytes. So to properly deal with
this data we'd have to concatenate as bytes and decode to string at the
end.

The old (wrong) way of concatenating results in some stray 'b'
characters showing up in the drive names.

The data returned from a socket is `bytes`. So to properly deal with
this data we'd have to concatenate as bytes and decode to string at the
end.

The old (wrong) way of concatenating results in some stray `'b'`
characters showing up in the drive names.
@g-gemignani
Copy link
Collaborator

Thank you!

@g-gemignani g-gemignani merged commit 4be469a into ros:noetic-devel Oct 19, 2022
@Rayman Rayman deleted the fix/python-3-port branch November 18, 2022 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants