-
Notifications
You must be signed in to change notification settings - Fork 10
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
can't concat str to bytes #3
Comments
Fixed in PR #4. |
Merged
Unfortunately, there are more bugs of this kind. After running
|
Fixed the latter and one more bug as well in PR #4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Reproduction steps
python pbapclient.py
connect 20:20:0F:32:D3:29
(use your device ID)Actual result:
TypeError: can't concat str to bytes
More info, with stack:
Expected result
Cause
service_id
is given as string, and then concatenated with bytes in PyOBEX. That is now invalid in Python 3.8.Fix
service_id
must be written as bytes literal, according to PEP 3112The text was updated successfully, but these errors were encountered: